aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorAnton Yabchinskiy2015-01-10 22:29:17 +0300
committerAnton Yabchinskiy2015-01-10 22:29:17 +0300
commitb6c5cb1064eab63788060dc918d7fec53e57a532 (patch)
tree83f8345dd6ee0bc432ec21fc979c628edd808e5e /tools/editor/plugins/script_editor_plugin.cpp
parenta7875c586af74302584544d777b189f4cb85c393 (diff)
parentf97582b5e9f069176a4c9226c39a880f786dae67 (diff)
downloadgodot-b6c5cb1064eab63788060dc918d7fec53e57a532.tar.gz
godot-b6c5cb1064eab63788060dc918d7fec53e57a532.tar.zst
godot-b6c5cb1064eab63788060dc918d7fec53e57a532.zip
Merge branch 'master' of github.com:okamstudio/godot
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/script_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp
index 439d8273c..55957887d 100644
--- a/tools/editor/plugins/script_editor_plugin.cpp
+++ b/tools/editor/plugins/script_editor_plugin.cpp
@@ -1578,7 +1578,7 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) {
menu_hb->add_child(file_menu);
file_menu->set_text("File");
file_menu->get_popup()->add_item("Open",FILE_OPEN);
- file_menu->get_popup()->add_item("Save",FILE_SAVE,KEY_MASK_ALT|KEY_S);
+ file_menu->get_popup()->add_item("Save",FILE_SAVE,KEY_MASK_ALT|KEY_MASK_CMD|KEY_S);
file_menu->get_popup()->add_item("Save As..",FILE_SAVE_AS);
file_menu->get_popup()->add_item("Save All",FILE_SAVE_ALL,KEY_MASK_CMD|KEY_MASK_SHIFT|KEY_S);
file_menu->get_popup()->connect("item_pressed", this,"_menu_option");