1
0
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:
Paul Licameli 2018-02-26 09:46:42 -05:00
parent e8da2f82a5
commit 6d687136aa

View File

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