summaryrefslogtreecommitdiff
path: root/tools/editor/plugins
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-04-24 16:25:27 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-04-24 16:25:27 -0300
commit807a811fadc9031d7533bf198322af2a0684f2cb (patch)
tree1c68005a5eee5a87677d051ea517be191b0e3a4a /tools/editor/plugins
parent7006fe3cc4580b2ece75681c0adc1ab6ab27891a (diff)
changed some shortcuts in text editor, maybe fixes #1732
Diffstat (limited to 'tools/editor/plugins')
-rw-r--r--tools/editor/plugins/script_editor_plugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp
index 8414c185a5..7deb856fa6 100644
--- a/tools/editor/plugins/script_editor_plugin.cpp
+++ b/tools/editor/plugins/script_editor_plugin.cpp
@@ -1508,8 +1508,8 @@ void ScriptEditor::_update_window_menu() {
window_menu->get_popup()->clear();
window_menu->get_popup()->add_item("Close",WINDOW_CLOSE,KEY_MASK_CMD|KEY_W);
window_menu->get_popup()->add_separator();
- window_menu->get_popup()->add_item("Move Left",WINDOW_MOVE_LEFT,KEY_MASK_CMD|KEY_LEFT);
- window_menu->get_popup()->add_item("Move Right",WINDOW_MOVE_RIGHT,KEY_MASK_CMD|KEY_RIGHT);
+ window_menu->get_popup()->add_item("Move Left",WINDOW_MOVE_LEFT,KEY_MASK_CMD|KEY_MASK_ALT|KEY_LEFT);
+ window_menu->get_popup()->add_item("Move Right",WINDOW_MOVE_RIGHT,KEY_MASK_CMD|KEY_MASK_ALT|KEY_RIGHT);
window_menu->get_popup()->add_separator();
idx=0;
@@ -1521,7 +1521,7 @@ void ScriptEditor::_update_window_menu() {
String n = ste->get_name();
uint32_t accel=0;
if (idx<9) {
- accel=KEY_MASK_ALT|(KEY_1+idx);
+ accel=KEY_MASK_ALT|KEY_MASK_CMD|(KEY_1+idx);
}
window_menu->get_popup()->add_item(n,WINDOW_SELECT_BASE+idx,accel);
idx++;