Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 275:4c91b98b4ce1
* More transform finder stuff
author | Chris Cannam |
---|---|
date | Mon, 29 Sep 2008 16:31:49 +0000 |
parents | 1da9d83fbde6 |
children | 189f0212f4ba |
line wrap: on
line diff
--- a/main/MainWindow.cpp Mon Sep 29 15:06:43 2008 +0000 +++ b/main/MainWindow.cpp Mon Sep 29 16:31:49 2008 +0000 @@ -1437,8 +1437,10 @@ QAction *action = new QAction(tr("Find a Transform..."), this); action->setStatusTip(tr("Search for a transform from the installed plugins, by name or description")); + action->setShortcut(tr("Ctrl+M")); connect(action, SIGNAL(triggered()), this, SLOT(findTransform())); connect(this, SIGNAL(canAddLayer(bool)), action, SLOT(setEnabled(bool))); + m_keyReference->registerShortcut(action); m_transformsMenu->addAction(action); m_rightButtonTransformsMenu->addAction(action);