1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-29 06:59:27 +02:00

Minor fix for commit cc2447

Forgot the call to ModifyState. Also added call to Refresh, though I'm unsure whether that is still needed.
This commit is contained in:
David Bailes 2016-11-08 10:27:05 +00:00
parent cc24472d09
commit 3f8751d9a2

View File

@ -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);
}
}