mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Bug1845: Remove the vacuous undo check, wasn't good enough anyway
This commit is contained in:
@@ -280,12 +280,6 @@ void UndoManager::PushState(const TrackList * l,
|
|||||||
tracksCopy->Add(t->Duplicate());
|
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;
|
mayConsolidate = true;
|
||||||
|
|
||||||
i = current + 1;
|
i = current + 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user