comparison src/Analyser.cpp @ 187:dedd09297a3e

Fix #884 (erroneously allows you to change candidate even when candidates not visible) and remaining part of #874 (show pitch candidates only on request). Also reorder menu items a little
author Chris Cannam
date Tue, 04 Mar 2014 14:10:37 +0000
parents ea15fa75ae6f
children b970b39e1fab
comparison
equal deleted inserted replaced
186:01139b1cb98d 187:dedd09297a3e
347 m_document->addLayerToView(m_pane, t); 347 m_document->addLayerToView(m_pane, t);
348 } 348 }
349 m_reAnalysisCandidates.push_back(t); 349 m_reAnalysisCandidates.push_back(t);
350 } 350 }
351 } 351 }
352
353 emit layersChanged();
352 } 354 }
353 355
354 void 356 void
355 Analyser::switchPitchCandidate(Selection sel, bool up) 357 Analyser::switchPitchCandidate(Selection sel, bool up)
356 { 358 {