diff src/MainWindow.h @ 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 431a95c9d14d
line wrap: on
line diff
--- a/src/MainWindow.h	Mon Feb 24 17:53:24 2014 -0500
+++ b/src/MainWindow.h	Tue Mar 04 14:10:37 2014 +0000
@@ -30,6 +30,9 @@
                bool withOSCSupport = true);
     virtual ~MainWindow();
 
+signals:
+    virtual void canChangePitchCandidate(bool);
+
 public slots:
     virtual bool commitData(bool mayAskUser); // on session shutdown
 
@@ -175,6 +178,7 @@
     QAction       *m_ffwdAction;
     QAction       *m_rwdAction;
     QAction       *m_editSelectAction;
+    QAction       *m_showCandidatesAction;
     QAction       *m_toggleIntelligenceAction;
     bool           m_intelligentActionOn; // GF: !!! temporary