# HG changeset patch # User Chris Cannam # Date 1409670401 -3600 # Node ID 624a8864391e9712605f2e1037f8c555ba50743b # Parent 1ba1340aa1379795934a7c2c8fac5644bf8ffcb5 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) diff -r 1ba1340aa137 -r 624a8864391e .hgsubstate --- 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 diff -r 1ba1340aa137 -r 624a8864391e main/MainWindow.cpp --- 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();