Skip to content

Commit ad7d541

Browse files
committed
Disable auto-translation in sub-resource list menu
1 parent 7d151c8 commit ad7d541

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editor/scene_tree_dock.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3511,6 +3511,7 @@ void SceneTreeDock::_update_tree_menu() {
35113511
tree_menu->set_item_tooltip(tree_menu->get_item_index(TOOL_CENTER_PARENT), TTR("If enabled, Reparent to New Node will create the new node in the center of the selected nodes, if possible."));
35123512

35133513
PopupMenu *resource_list = memnew(PopupMenu);
3514+
resource_list->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
35143515
resource_list->connect("about_to_popup", callable_mp(this, &SceneTreeDock::_list_all_subresources).bind(resource_list));
35153516
resource_list->connect("index_pressed", callable_mp(this, &SceneTreeDock::_edit_subresource).bind(resource_list));
35163517
tree_menu->add_submenu_node_item(TTR("All Scene Sub-Resources"), resource_list);

0 commit comments

Comments
 (0)