From f605ebe2a435129c5c0c3e6619f9f017a4d8c13d Mon Sep 17 00:00:00 2001 From: Joe Esposito Date: Tue, 17 Apr 2018 15:24:46 -0400 Subject: [PATCH] Fix U and D keyboard shortcuts in rebase dialog Fix C&P error of commit 30239607dd18545bba8324cacb442cfc96ddc80a. Signed-off-by: Joe Esposito Signed-off-by: Sven Strickroth --- src/TortoiseProc/RebaseDlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TortoiseProc/RebaseDlg.cpp b/src/TortoiseProc/RebaseDlg.cpp index a012323a3..c95fae43d 100644 --- a/src/TortoiseProc/RebaseDlg.cpp +++ b/src/TortoiseProc/RebaseDlg.cpp @@ -854,14 +854,14 @@ BOOL CRebaseDlg::PreTranslateMessage(MSG*pMsg) case 'U': if (LogListHasFocus(pMsg->hwnd)) { - OnBnClickedButtonDown(); + OnBnClickedButtonUp(); return TRUE; } break; case 'D': if (LogListHasFocus(pMsg->hwnd)) { - OnBnClickedButtonUp(); + OnBnClickedButtonDown(); return TRUE; } break; -- 2.11.4.GIT