mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #5166 from djrm/shortcuts
Added customizable shortcuts for tile map editor
This commit is contained in:
commit
f70aa176e5
3 changed files with 64 additions and 54 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue