changeset 16458:a3513fc13cdb

fix cut and paste error in changeset 246d25c8761b * main-window.cc (main_window::construct_debug_menu_item): Pass key to setShortcut, not a constant.
author John W. Eaton <jwe@octave.org>
date Sun, 07 Apr 2013 06:04:37 -0400
parents 10edb6f1ae98
children cbc39a3d0c42
files libgui/src/main-window.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/main-window.cc	Sun Apr 07 05:45:23 2013 -0400
+++ b/libgui/src/main-window.cc	Sun Apr 07 06:04:37 2013 -0400
@@ -895,7 +895,7 @@
   QAction *action = _debug_menu->addAction (QIcon (icon_file), item);
 
   action->setEnabled (false);
-  action->setShortcut (Qt::Key_F10);
+  action->setShortcut (key);
 
 #ifdef HAVE_QSCINTILLA
   editor_window->debug_menu ()->addAction (action);