diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 5148a404ee2..8305640f266 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -8459,7 +8459,7 @@ EditorNode::EditorNode() { file_menu->add_separator(); export_as_menu = memnew(PopupMenu); - file_menu->add_submenu_node_item(TTRC("Export As..."), export_as_menu); + file_menu->add_submenu_node_item(TTRC("Export As..."), export_as_menu, SCENE_EXPORT_AS); export_as_menu->add_shortcut(ED_SHORTCUT("editor/export_as_mesh_library", TTRC("MeshLibrary...")), FILE_EXPORT_MESH_LIBRARY); export_as_menu->connect("index_pressed", callable_mp(this, &EditorNode::_export_as_menu_option)); diff --git a/editor/editor_node.h b/editor/editor_node.h index 6bc236235d0..024fddf25cf 100644 --- a/editor/editor_node.h +++ b/editor/editor_node.h @@ -152,6 +152,7 @@ public: SCENE_QUICK_OPEN, SCENE_QUICK_OPEN_SCENE, SCENE_QUICK_OPEN_SCRIPT, + SCENE_EXPORT_AS, SCENE_UNDO, SCENE_REDO, SCENE_RELOAD_SAVED_SCENE,