Commit 1a44668d authored by Christoffer Ackelman's avatar Christoffer Ackelman

Remove shortcut CTRL+J on Functions->Open Subwindow in the PlcEditor.

parent 5a539c3c
......@@ -1758,8 +1758,6 @@ pwr_tStatus WFoeGtk::create_window(int x_top, int y_top, int width_adb,
= gtk_menu_item_new_with_mnemonic("Open _Subwindow");
g_signal_connect(functions_subwind, "activate",
G_CALLBACK(WFoeGtk::activate_subwindow), this);
gtk_widget_add_accelerator(functions_openobj, "activate", accel_g, 'j',
GdkModifierType(GDK_CONTROL_MASK), GTK_ACCEL_VISIBLE);
GtkMenu* functions_menu = (GtkMenu*)g_object_new(GTK_TYPE_MENU, NULL);
gtk_menu_shell_append(GTK_MENU_SHELL(functions_menu), functions_openobj);
......
......@@ -944,7 +944,7 @@ pwr_tStatus WFoeQt::create_window(int x_top, int y_top, int width_adb,
addMenuItem(toplevel, functions, "&Open Object...",
SLOT(activate_attribute()), "CTRL+A");
addMenuItem(toplevel, functions, "Open &Subwindow",
SLOT(activate_subwindow()), "CTRL+J");
SLOT(activate_subwindow()));
// Mode entry
QMenu* mode = menu_bar->addMenu(translate_utf8("&Mode"));
......
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