changeset 785:624a8864391e

Restore the old prev/next layer commands (that were never enabled because they didn't work) using the new fixed order layer list (so they now do work)
author Chris Cannam
date Tue, 02 Sep 2014 16:06:41 +0100
parents 1ba1340aa137
children 24fc52bb6a35
files .hgsubstate main/MainWindow.cpp
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Tue Sep 02 15:25:27 2014 +0100
+++ b/.hgsubstate	Tue Sep 02 16:06:41 2014 +0100
@@ -1,5 +1,5 @@
 d16f0fd6db6104d87882bc43788a3bb1b0f8c528 dataquay
 879bdc878826bebec67130326f99397c430419b1 sv-dependency-builds
-f7dddea0dbe0b7b02e62cf701128cc1c17b068a6 svapp
+eb84b06301da639b14e8c085526056a7702fc432 svapp
 f5810f1270ae64d2a814c55f7d56cc7cfe11192b svcore
 6c4cab21e387f23263be2171d072bdd4c102b313 svgui
--- a/main/MainWindow.cpp	Tue Sep 02 15:25:27 2014 +0100
+++ b/main/MainWindow.cpp	Tue Sep 02 16:06:41 2014 +0100
@@ -1398,7 +1398,6 @@
 
     setupExistingLayersMenus();
 
-/*!!! These don't work correctly -- fix or omit
     menu->addSeparator();
 
     action = new QAction(tr("Switch to Previous Layer"), this);
@@ -1416,7 +1415,7 @@
     connect(this, SIGNAL(canSelectNextLayer(bool)), action, SLOT(setEnabled(bool)));
     m_keyReference->registerShortcut(action);
     menu->addAction(action);
-*/
+
     m_rightButtonLayerMenu->addSeparator();
     menu->addSeparator();