mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-17 00:07:54 +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:
@@ -71,7 +71,7 @@ is time to refresh some aspect of the screen.
|
||||
#include "KeyboardCapture.h"
|
||||
#include "Project.h"
|
||||
#include "ProjectAudioIO.h"
|
||||
#include "ProjectManager.h"
|
||||
#include "ProjectHistory.h"
|
||||
#include "ProjectSettings.h"
|
||||
#include "ProjectWindow.h"
|
||||
#include "TrackPanelMouseEvent.h"
|
||||
@@ -612,7 +612,7 @@ void TrackPanel::OnPaint(wxPaintEvent & /* event */)
|
||||
|
||||
void TrackPanel::MakeParentModifyState(bool bWantsAutoSave)
|
||||
{
|
||||
ProjectManager::Get( *GetProject() ).ModifyState(bWantsAutoSave);
|
||||
ProjectHistory::Get( *GetProject() ).ModifyState(bWantsAutoSave);
|
||||
}
|
||||
|
||||
void TrackPanel::MakeParentRedrawScrollbars()
|
||||
|
||||
Reference in New Issue
Block a user