comparison src/Analyser.cpp @ 243:3ff0f36c8fc1

Clear this before closing command
author Chris Cannam
date Tue, 01 Apr 2014 13:42:13 +0100
parents 3cb56556db72
children bb32b9fbacf8
comparison
equal deleted inserted replaced
242:3cb56556db72 243:3ff0f36c8fc1
547 // This will cause the layer to be deleted later (ownership is 547 // This will cause the layer to be deleted later (ownership is
548 // transferred to the remove command) 548 // transferred to the remove command)
549 m_document->removeLayerFromView(m_pane, layer); 549 m_document->removeLayerFromView(m_pane, layer);
550 } 550 }
551 551
552 m_reAnalysisCandidates.clear();
552 CommandHistory::getInstance()->endCompoundOperation(); 553 CommandHistory::getInstance()->endCompoundOperation();
553 } 554 }
554 555
555 m_reAnalysisCandidates.clear();
556 m_currentCandidate = -1; 556 m_currentCandidate = -1;
557 m_reAnalysingSelection = Selection(); 557 m_reAnalysingSelection = Selection();
558 m_candidatesVisible = false; 558 m_candidatesVisible = false;
559 } 559 }
560 560