# HG changeset patch # User Chris Cannam # Date 1396356133 -3600 # Node ID 3ff0f36c8fc132ad388a4ffe95bf23e74b1b8076 # Parent 3cb56556db72f84d75bb0da4e4fc2e4eac71de07 Clear this before closing command diff -r 3cb56556db72 -r 3ff0f36c8fc1 src/Analyser.cpp --- a/src/Analyser.cpp Tue Apr 01 13:17:53 2014 +0100 +++ b/src/Analyser.cpp Tue Apr 01 13:42:13 2014 +0100 @@ -549,10 +549,10 @@ m_document->removeLayerFromView(m_pane, layer); } + m_reAnalysisCandidates.clear(); CommandHistory::getInstance()->endCompoundOperation(); } - m_reAnalysisCandidates.clear(); m_currentCandidate = -1; m_reAnalysingSelection = Selection(); m_candidatesVisible = false;