diff --git a/apps/graph/app.cpp b/apps/graph/app.cpp index 464c73c7a..8c8bd9188 100644 --- a/apps/graph/app.cpp +++ b/apps/graph/app.cpp @@ -52,6 +52,7 @@ InteractiveCurveViewRange * App::Snapshot::graphRange() { void App::Snapshot::tidy() { m_functionStore.tidy(); + m_graphRange.setDelegate(nullptr); } App::App(Container * container, Snapshot * snapshot) : diff --git a/apps/sequence/app.cpp b/apps/sequence/app.cpp index 521bcc159..1dfb024b5 100644 --- a/apps/sequence/app.cpp +++ b/apps/sequence/app.cpp @@ -50,6 +50,7 @@ CurveViewRange * App::Snapshot::graphRange() { void App::Snapshot::tidy() { m_sequenceStore.tidy(); + m_graphRange.setDelegate(nullptr); } App::App(Container * container, Snapshot * snapshot) :