mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-08 04:32:00 +01:00
New class ProjectHistory split from ProjectManager for undo, etc...
... And yet fewer inclusions of Projectmanager.h, though it's still not yet free of cycles
This commit is contained in:
@@ -21,7 +21,7 @@ Paul Licameli split from ProjectManager.cpp
|
||||
#include "Project.h"
|
||||
#include "ProjectAudioIO.h"
|
||||
#include "ProjectFileIO.h"
|
||||
#include "ProjectManager.h"
|
||||
#include "ProjectHistory.h"
|
||||
#include "ProjectSettings.h"
|
||||
#include "ProjectWindow.h"
|
||||
#include "toolbars/ControlToolBar.h"
|
||||
@@ -127,7 +127,7 @@ You are saving directly to a slow external storage device\n\
|
||||
}
|
||||
|
||||
// Add to history
|
||||
auto &history = ProjectManager::Get( project );
|
||||
auto &history = ProjectHistory::Get( project );
|
||||
history.PushState(_("Recorded Audio"), _("Record"));
|
||||
|
||||
// Reset timer record
|
||||
|
||||
Reference in New Issue
Block a user