# HG changeset patch # User Chris Cannam # Date 1396425822 -3600 # Node ID 3b5ea600829c23a31979865129fb11fa35874537 # Parent e9a0b3fad71371e2331f51c661255a633ddb87a5 We should be able to switch tool mode at any time diff -r e9a0b3fad713 -r 3b5ea600829c src/MainWindow.cpp --- a/src/MainWindow.cpp Wed Apr 02 09:01:56 2014 +0100 +++ b/src/MainWindow.cpp Wed Apr 02 09:03:42 2014 +0100 @@ -529,7 +529,6 @@ action->setShortcut(tr("2")); action->setStatusTip(tr("Edit with Note Intelligence")); connect(action, SIGNAL(triggered()), this, SLOT(toolEditSelected())); - connect(this, SIGNAL(canEditLayer(bool)), action, SLOT(setEnabled(bool))); group->addAction(action); menu->addAction(action); m_keyReference->registerShortcut(action); @@ -559,7 +558,6 @@ action->setShortcut(tr("3")); action->setStatusTip(tr("Free Edit")); connect(action, SIGNAL(triggered()), this, SLOT(toolFreeEditSelected())); - connect(this, SIGNAL(canEditLayer(bool)), action, SLOT(setEnabled(bool))); group->addAction(action); m_keyReference->registerShortcut(action); */