From 3f8751d9a257845517a84f502578a0156d3fc693 Mon Sep 17 00:00:00 2001 From: David Bailes Date: Tue, 8 Nov 2016 10:27:05 +0000 Subject: [PATCH] Minor fix for commit cc2447 Forgot the call to ModifyState. Also added call to Refresh, though I'm unsure whether that is still needed. --- src/Menus.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Menus.cpp b/src/Menus.cpp index 942c3f193..6bae3e6d2 100644 --- a/src/Menus.cpp +++ b/src/Menus.cpp @@ -5181,6 +5181,9 @@ void AudacityProject::OnSelectCursorSavedCursor() if (mCursorPositionHasBeenSaved) { mViewInfo.selectedRegion.setT0(std::min(mViewInfo.selectedRegion.t0(), mCursorPositionSaved)); mViewInfo.selectedRegion.setT1(std::max(mViewInfo.selectedRegion.t1(), mCursorPositionSaved)); + + ModifyState(false); + mTrackPanel->Refresh(false); } }