mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
TransactionScope for performance also when abandoning redo states
This commit is contained in:
@@ -269,7 +269,7 @@ void HistoryDialog::OnDiscard(wxCommandEvent & WXUNUSED(event))
|
||||
int i = mLevels->GetValue();
|
||||
|
||||
mSelected -= i;
|
||||
mManager->RemoveStates(i);
|
||||
mManager->RemoveStates(0, i);
|
||||
ProjectHistory::Get( *mProject ).SetStateTo(mSelected);
|
||||
|
||||
while(--i >= 0)
|
||||
|
||||
Reference in New Issue
Block a user