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

static UndoManager::Get()...

... not member functions of AudacityProject
This commit is contained in:
Paul Licameli
2019-01-21 17:45:03 -05:00
parent b5a57682b6
commit 72b7c776a8
12 changed files with 69 additions and 39 deletions

View File

@@ -691,7 +691,7 @@ double DoClipMove
void DoClipLeftOrRight
(AudacityProject &project, bool right, bool keyUp )
{
auto &undoManager = *project.GetUndoManager();
auto &undoManager = UndoManager::Get( project );
if (keyUp) {
undoManager.StopConsolidating();