aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2016-06-19 12:50:35 +0200
committerGitHub2016-06-19 12:50:35 +0200
commitf70aa176e5b84c3029078ceb4941fd6234ff7680 (patch)
tree589bfdab0715ac138ceba1b685b2a897d438df59 /tools/editor/editor_node.cpp
parent8f2115529ec861d3d4184091dabbd063e5684983 (diff)
parent5524bcd2b5dd798c2ef054e5c475d2d3e4845d51 (diff)
downloadgodot-f70aa176e5b84c3029078ceb4941fd6234ff7680.tar.gz
godot-f70aa176e5b84c3029078ceb4941fd6234ff7680.tar.zst
godot-f70aa176e5b84c3029078ceb4941fd6234ff7680.zip
Merge pull request #5166 from djrm/shortcuts
Added customizable shortcuts for tile map editor
Diffstat (limited to 'tools/editor/editor_node.cpp')
-rw-r--r--tools/editor/editor_node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp
index ef65d5e50..153260ff7 100644
--- a/tools/editor/editor_node.cpp
+++ b/tools/editor/editor_node.cpp
@@ -5556,8 +5556,8 @@ EditorNode::EditorNode() {
p->add_submenu_item(TTR("Convert To.."),"Export");
pm_export->add_item(TTR("Translatable Strings.."),FILE_DUMP_STRINGS);
pm_export->add_separator();
- pm_export->add_item(TTR("MeshLibrary.."),FILE_EXPORT_MESH_LIBRARY);
- pm_export->add_item(TTR("TileSet.."),FILE_EXPORT_TILESET);
+ pm_export->add_shortcut(ED_SHORTCUT("editor/convert_to_MeshLibrary", TTR("MeshLibrary..")), FILE_EXPORT_MESH_LIBRARY);
+ pm_export->add_shortcut(ED_SHORTCUT("editor/convert_to_TileSet", TTR("TileSet..")), FILE_EXPORT_TILESET);
pm_export->connect("item_pressed",this,"_menu_option");
p->add_separator();