From 0105a0a450ae9620809db949b74a4e724887e246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Thu, 18 May 2017 13:37:29 +0200 Subject: [PATCH] [apps/sequence|grpah] Fix bug Change-Id: Ic0d40262dd3ee4e2d393b7bb65e0b3a224ffbccc --- apps/graph/app.cpp | 1 + apps/sequence/app.cpp | 1 + 2 files changed, 2 insertions(+) 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) :