summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-29 23:48:20 +0100
committerGitHub <noreply@github.com>2021-11-29 23:48:20 +0100
commit03cfdf8cc7dd6923ebda22635c6e9dba98dd2a65 (patch)
treea2697f71f7df1f8d789e68ac68579f864aaf42a0 /editor
parentaa74494ab965489d0f81f4a170083acb3fb9571d (diff)
parent9c6032b46afa7253621836c30450eb61d50d0ed6 (diff)
Merge pull request #55451 from Calinou/scene-tree-dock-fix-icon-theme-change
Fix scene tree dock icon not switching colors on theme change
Diffstat (limited to 'editor')
-rw-r--r--editor/scene_tree_dock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index 611038a947..a03871f33c 100644
--- a/editor/scene_tree_dock.cpp
+++ b/editor/scene_tree_dock.cpp
@@ -1306,6 +1306,7 @@ void SceneTreeDock::_notification(int p_what) {
button_instance->set_icon(get_theme_icon(SNAME("Instance"), SNAME("EditorIcons")));
button_create_script->set_icon(get_theme_icon(SNAME("ScriptCreate"), SNAME("EditorIcons")));
button_detach_script->set_icon(get_theme_icon(SNAME("ScriptRemove"), SNAME("EditorIcons")));
+ button_tree_menu->set_icon(get_theme_icon(SNAME("GuiTabMenuHl"), SNAME("EditorIcons")));
button_2d->set_icon(get_theme_icon(SNAME("Node2D"), SNAME("EditorIcons")));
button_3d->set_icon(get_theme_icon(SNAME("Node3D"), SNAME("EditorIcons")));
button_ui->set_icon(get_theme_icon(SNAME("Control"), SNAME("EditorIcons")));