From 4494e66054b6145055986e25e9bddbf307216c48 Mon Sep 17 00:00:00 2001 From: Sup Yut Sum Date: Thu, 21 Nov 2013 23:34:53 +0800 Subject: [PATCH] TortoiseGitBlame: Show wait cursor after toggling follow renames Signed-off-by: Sup Yut Sum --- src/TortoiseGitBlame/TortoiseGitBlameView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TortoiseGitBlame/TortoiseGitBlameView.cpp b/src/TortoiseGitBlame/TortoiseGitBlameView.cpp index a79412ffd..b2f169d8e 100644 --- a/src/TortoiseGitBlame/TortoiseGitBlameView.cpp +++ b/src/TortoiseGitBlame/TortoiseGitBlameView.cpp @@ -1981,6 +1981,7 @@ void CTortoiseGitBlameView::OnUpdateViewToggleDate(CCmdUI *pCmdUI) void CTortoiseGitBlameView::OnViewToggleFollowRenames() { m_bFollowRenames = ! m_bFollowRenames; + theApp.DoWaitCursor(1); theApp.WriteInt(_T("FollowRenames"), m_bFollowRenames); @@ -1992,6 +1993,7 @@ void CTortoiseGitBlameView::OnViewToggleFollowRenames() document->OnOpenDocument(document->m_CurrentFileName, document->m_Rev); document->SetPathName(document->m_CurrentFileName, FALSE); } + theApp.DoWaitCursor(-1); } void CTortoiseGitBlameView::OnUpdateViewToggleFollowRenames(CCmdUI *pCmdUI) -- 2.11.4.GIT