Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
1a44668d
Commit
1a44668d
authored
Jun 05, 2019
by
Christoffer Ackelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove shortcut CTRL+J on Functions->Open Subwindow in the PlcEditor.
parent
5a539c3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
wb/lib/wb/gtk/wb_foe_gtk.cpp
wb/lib/wb/gtk/wb_foe_gtk.cpp
+0
-2
wb/lib/wb/qt/wb_foe_qt.cqt
wb/lib/wb/qt/wb_foe_qt.cqt
+1
-1
No files found.
wb/lib/wb/gtk/wb_foe_gtk.cpp
View file @
1a44668d
...
@@ -1758,8 +1758,6 @@ pwr_tStatus WFoeGtk::create_window(int x_top, int y_top, int width_adb,
...
@@ -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"
);
=
gtk_menu_item_new_with_mnemonic
(
"Open _Subwindow"
);
g_signal_connect
(
functions_subwind
,
"activate"
,
g_signal_connect
(
functions_subwind
,
"activate"
,
G_CALLBACK
(
WFoeGtk
::
activate_subwindow
),
this
);
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
);
GtkMenu
*
functions_menu
=
(
GtkMenu
*
)
g_object_new
(
GTK_TYPE_MENU
,
NULL
);
gtk_menu_shell_append
(
GTK_MENU_SHELL
(
functions_menu
),
functions_openobj
);
gtk_menu_shell_append
(
GTK_MENU_SHELL
(
functions_menu
),
functions_openobj
);
...
...
wb/lib/wb/qt/wb_foe_qt.cqt
View file @
1a44668d
...
@@ -944,7 +944,7 @@ pwr_tStatus WFoeQt::create_window(int x_top, int y_top, int width_adb,
...
@@ -944,7 +944,7 @@ pwr_tStatus WFoeQt::create_window(int x_top, int y_top, int width_adb,
addMenuItem(toplevel, functions, "&Open Object...",
addMenuItem(toplevel, functions, "&Open Object...",
SLOT(activate_attribute()), "CTRL+A");
SLOT(activate_attribute()), "CTRL+A");
addMenuItem(toplevel, functions, "Open &Subwindow",
addMenuItem(toplevel, functions, "Open &Subwindow",
SLOT(activate_subwindow())
, "CTRL+J"
);
SLOT(activate_subwindow()));
// Mode entry
// Mode entry
QMenu* mode = menu_bar->addMenu(translate_utf8("&Mode"));
QMenu* mode = menu_bar->addMenu(translate_utf8("&Mode"));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment