From 9003f0be606745eab5b73d15471b0b98fb2c12f6 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Tue, 4 Oct 2011 04:20:39 +0200 Subject: [PATCH] also scroll to selected revision Signed-off-by: Sven Strickroth --- src/TortoiseGitBlame/TortoiseGitBlameView.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TortoiseGitBlame/TortoiseGitBlameView.cpp b/src/TortoiseGitBlame/TortoiseGitBlameView.cpp index 40858c392..23266a636 100644 --- a/src/TortoiseGitBlame/TortoiseGitBlameView.cpp +++ b/src/TortoiseGitBlame/TortoiseGitBlameView.cpp @@ -2696,6 +2696,7 @@ void CTortoiseGitBlameView::OnLButtonDown(UINT nFlags,CPoint point) this->GetLogList()->SetItemState(this->GetLogList()->GetItemCount()-m_ID[line], LVIS_SELECTED, LVIS_SELECTED); + this->GetLogList()->EnsureVisible(this->GetLogList()->GetItemCount()-m_ID[line], FALSE); } else { -- 2.11.4.GIT