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:
parent
cc24472d09
commit
3f8751d9a2
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user