changeset 348:2260737068b5

* Patch from Dan Stowell to provide shortcuts to add layers (additionally to the existing ones to add panes)
author Chris Cannam
date Fri, 16 Jul 2010 16:53:14 +0000
parents 19feac24407f
children a8e8017b909d
files main/MainWindow.cpp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Tue Jun 22 09:46:27 2010 +0000
+++ b/main/MainWindow.cpp	Fri Jul 16 16:53:14 2010 +0000
@@ -1013,6 +1013,7 @@
                     shortcutText = tr("W");
                     tipText = tr("Add a new pane showing a waveform view");
                 } else {
+                    shortcutText = tr("Shift+W");
                     tipText = tr("Add a new layer showing a waveform view");
                 }
                 mono = false;
@@ -1025,6 +1026,7 @@
                     shortcutText = tr("G");
                     tipText = tr("Add a new pane showing a spectrogram");
                 } else {
+                    shortcutText = tr("Shift+G");
                     tipText = tr("Add a new layer showing a spectrogram");
                 }
                 break;
@@ -1036,6 +1038,7 @@
                     shortcutText = tr("M");
                     tipText = tr("Add a new pane showing a spectrogram set up for an overview of note pitches");
                 } else {
+                    shortcutText = tr("Shift+M");
                     tipText = tr("Add a new layer showing a spectrogram set up for an overview of note pitches");
                 }
                 break;
@@ -1047,6 +1050,7 @@
                     shortcutText = tr("K");
                     tipText = tr("Add a new pane showing a spectrogram set up for tracking frequencies");
                 } else {
+                    shortcutText = tr("Shift+K");
                     tipText = tr("Add a new layer showing a spectrogram set up for tracking frequencies");
                 }
                 break;
@@ -1058,6 +1062,7 @@
                     shortcutText = tr("U");
                     tipText = tr("Add a new pane showing a frequency spectrum");
                 } else {
+                    shortcutText = tr("Shift+U");
                     tipText = tr("Add a new layer showing a frequency spectrum");
                 }
                 break;