Mercurial > hg > tony
changeset 190:add7468a7ca1
Fix failure to hide pitch candidates when making an empty selection to replace a non-empty one
author | Chris Cannam |
---|---|
date | Tue, 04 Mar 2014 16:32:54 +0000 |
parents | e963bdbc0707 |
children | 800e65412473 |
files | src/MainWindow.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/MainWindow.cpp Tue Mar 04 16:32:08 2014 +0000 +++ b/src/MainWindow.cpp Tue Mar 04 16:32:54 2014 +0000 @@ -1789,10 +1789,11 @@ cerr << "MainWindow::selectionChanged" << endl; + m_analyser->showPitchCandidates(false); + if (!selections.empty()) { Selection sel = *selections.begin(); cerr << "MainWindow::selectionChanged: have selection" << endl; - m_analyser->showPitchCandidates(false); QString error = m_analyser->reAnalyseSelection(sel); if (error != "") { QMessageBox::critical