diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index ab81e7939..fdec159af 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -516,11 +516,6 @@ void TrackPanel::OnPaint(wxPaintEvent & /* event */) #endif } -void TrackPanel::MakeParentModifyState(bool bWantsAutoSave) -{ - ProjectHistory::Get( *GetProject() ).ModifyState(bWantsAutoSave); -} - void TrackPanel::MakeParentRedrawScrollbars() { mListener->TP_RedrawScrollbars(); diff --git a/src/TrackPanel.h b/src/TrackPanel.h index b894eb66a..111c3d32f 100644 --- a/src/TrackPanel.h +++ b/src/TrackPanel.h @@ -145,9 +145,6 @@ public: wxRect FindTrackRect( const Track * target ); protected: - void MakeParentModifyState(bool bWantsAutoSave); // if true, writes auto-save file. Should set only if you really want the state change restored after - // a crash, as it can take many seconds for large (eg. 10 track-hours) projects - // Get the root object defining a recursive subdivision of the panel's // area into cells std::shared_ptr Root() override;