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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user