Commit 06078351 authored by Christoffer Ackelman's avatar Christoffer Ackelman

QT: Add missing CTRL+S shortcut in GE.

parent 86ac1782
...@@ -1327,7 +1327,7 @@ GeQt::GeQt(void* x_parent_ctx, ldh_tSesContext x_ldhses, int x_exit_when_close, ...@@ -1327,7 +1327,7 @@ GeQt::GeQt(void* x_parent_ctx, ldh_tSesContext x_ldhses, int x_exit_when_close,
addMenuItem( addMenuItem(
toplevel, file, "&Open...", SLOT(activate_open()), "", "document-open"); toplevel, file, "&Open...", SLOT(activate_open()), "", "document-open");
addMenuItem( addMenuItem(
toplevel, file, "Save", SLOT(activate_save()), "", "document-save"); toplevel, file, "Save", SLOT(activate_save()), "CTRL+S", "document-save");
addMenuItem(toplevel, file, "Save As", SLOT(activate_save_as()), addMenuItem(toplevel, file, "Save As", SLOT(activate_save_as()),
"CTRL+SHIFT+S", "document-save-as"); "CTRL+SHIFT+S", "document-save-as");
addMenuItem(toplevel, file, "&Build", SLOT(activate_build())); addMenuItem(toplevel, file, "&Build", SLOT(activate_build()));
...@@ -1578,7 +1578,7 @@ GeQt::GeQt(void* x_parent_ctx, ldh_tSesContext x_ldhses, int x_exit_when_close, ...@@ -1578,7 +1578,7 @@ GeQt::GeQt(void* x_parent_ctx, ldh_tSesContext x_ldhses, int x_exit_when_close,
// Menu Help // Menu Help
QMenu* help = menu_bar->addMenu(translate_utf8("&Help")); QMenu* help = menu_bar->addMenu(translate_utf8("&Help"));
addMenuItem( addMenuItem(
toplevel, help, "&Help", SLOT(activate_help()), "CTRL+H", "system-help"); toplevel, help, "&Help", SLOT(activate_help()), "", "system-help");
addMenuItem( addMenuItem(
toplevel, help, "H&elp on Subgraphs", SLOT(activate_help_subgraph())); toplevel, help, "H&elp on Subgraphs", SLOT(activate_help_subgraph()));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment