Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Fix editor scene tabs not updating properly on theme change

Michael Alexsanderdcfcfe76a440
diff --git a/editor/scene/editor_scene_tabs.cpp b/editor/scene/editor_scene_tabs.cpp
index 096ef41eb42..55dd46eca1e 100644
--- a/editor/scene/editor_scene_tabs.cpp
+++ b/editor/scene/editor_scene_tabs.cpp
@@ -60,6 +60,7 @@ void EditorSceneTabs::_notification(int p_what) {
scene_tabs->add_theme_constant_override("icon_max_width", get_theme_constant(SNAME("class_icon_size"), EditorStringName(Editor)));
scene_list->set_button_icon(get_editor_theme_icon(SNAME("GuiTabMenuHl")));
+ _update_tab_titles();
scene_tab_add->set_button_icon(get_editor_theme_icon(SNAME("Add")));
scene_tab_add->add_theme_color_override("icon_normal_color", Color(0.6f, 0.6f, 0.6f, 0.8f));