diff main/MainWindow.cpp @ 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 8b51bfe70625
children c8e378ad8a10
line wrap: on
line diff
--- 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();