mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-25 00:48:10 +02:00
Changes via History affect selection exactly as undo/redo...
... I don't know a good reason why they didn't before. It was ancient (2010) behavior. This also means that RollbackState really will properly rollback the selection too, even when there are redo items. This simplifies away an odd special case.
This commit is contained in:
parent
af81dfa10b
commit
8c486b50f6
@ -313,12 +313,7 @@ const UndoState &UndoManager::SetStateTo
|
||||
|
||||
current = n;
|
||||
|
||||
if (current == (int)(stack.size()-1)) {
|
||||
*selectedRegion = stack[current]->state.selectedRegion;
|
||||
}
|
||||
else {
|
||||
*selectedRegion = stack[current + 1]->state.selectedRegion;
|
||||
}
|
||||
*selectedRegion = stack[current]->state.selectedRegion;
|
||||
|
||||
lastAction = wxT("");
|
||||
mayConsolidate = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user