mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-02 00:29:41 +02:00
Bug1845: Remove the vacuous undo check, wasn't good enough anyway
This commit is contained in:
parent
e8da2f82a5
commit
6d687136aa
@ -280,12 +280,6 @@ void UndoManager::PushState(const TrackList * l,
|
||||
tracksCopy->Add(t->Duplicate());
|
||||
}
|
||||
|
||||
// Quit with no effects if the change looks vacuous
|
||||
// (Don't examine track contents to decide vacuity)
|
||||
if (current >= 0 &&
|
||||
tags == stack[current]->state.tags && tracksCopy->empty())
|
||||
return;
|
||||
|
||||
mayConsolidate = true;
|
||||
|
||||
i = current + 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user