1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Remove unnecessary parts of fix for bug 2501...

... Don't need to put the project in a strange state where Undo commands are
ignored until labels are de-selected
This commit is contained in:
Paul Licameli
2021-01-26 04:19:51 -05:00
parent c9d37675f7
commit 35e9afe34d
3 changed files with 0 additions and 43 deletions

View File

@@ -183,13 +183,6 @@ void OnUndo(const CommandContext &context)
return;
}
for (auto lt : tracks.Selected< LabelTrack >()) {
auto &view = LabelTrackView::Get( *lt );
if (!view.Undo( project )) {
return;
}
}
undoManager.Undo(
[&]( const UndoStackElem &elem ){
ProjectHistory::Get( project ).PopState( elem.state ); } );