Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 977:ce4793b2748a
Add half-wave rectification option to Colour 3D Plot layer
author | Chris Cannam |
---|---|
date | Fri, 22 May 2015 09:17:52 +0100 |
parents | ac144f0815a2 |
children | 9ae8a300cf7f |
line wrap: on
line diff
--- a/main/MainWindow.cpp Thu May 21 15:34:23 2015 +0100 +++ b/main/MainWindow.cpp Fri May 22 09:17:52 2015 +0100 @@ -569,10 +569,12 @@ m_keyReference->registerShortcut(action); menu->addAction(action); - action = new QAction(tr("Export Annotation Layer..."), this); + action = new QAction(tr("Export Annotation La&yer..."), this); + action->setShortcut(tr("Ctrl+Y")); action->setStatusTip(tr("Export layer data to a file")); connect(action, SIGNAL(triggered()), this, SLOT(exportLayer())); connect(this, SIGNAL(canExportLayer(bool)), action, SLOT(setEnabled(bool))); + m_keyReference->registerShortcut(action); menu->addAction(action); menu->addSeparator();