Merge pull request #89747 from KoBeWi/icoNOT
Remove stray item icon from tabs menu
This commit is contained in:
commit
2338d9b3bc
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ void EditorSceneTabs::_update_context_menu() {
|
||||||
|
|
||||||
if (tab_id >= 0) {
|
if (tab_id >= 0) {
|
||||||
scene_tabs_context_menu->add_separator();
|
scene_tabs_context_menu->add_separator();
|
||||||
scene_tabs_context_menu->add_icon_item(get_editor_theme_icon(SNAME("ShowInFileSystem")), TTR("Show in FileSystem"), EditorNode::FILE_SHOW_IN_FILESYSTEM);
|
scene_tabs_context_menu->add_item(TTR("Show in FileSystem"), EditorNode::FILE_SHOW_IN_FILESYSTEM);
|
||||||
_disable_menu_option_if(EditorNode::FILE_SHOW_IN_FILESYSTEM, !ResourceLoader::exists(EditorNode::get_editor_data().get_scene_path(tab_id)));
|
_disable_menu_option_if(EditorNode::FILE_SHOW_IN_FILESYSTEM, !ResourceLoader::exists(EditorNode::get_editor_data().get_scene_path(tab_id)));
|
||||||
scene_tabs_context_menu->add_item(TTR("Play This Scene"), EditorNode::FILE_RUN_SCENE);
|
scene_tabs_context_menu->add_item(TTR("Play This Scene"), EditorNode::FILE_RUN_SCENE);
|
||||||
_disable_menu_option_if(EditorNode::FILE_RUN_SCENE, no_root_node);
|
_disable_menu_option_if(EditorNode::FILE_RUN_SCENE, no_root_node);
|
||||||
|
|
Loading…
Reference in a new issue