aboutsummaryrefslogtreecommitdiff
path: root/editor/node_dock.cpp
diff options
context:
space:
mode:
authortoger52017-08-30 01:03:13 +0200
committertoger52017-08-30 21:47:09 +0200
commit7793bfc544deb6517ca68c3e295eaba27bf74910 (patch)
tree4f530ed2d100db352ae60f2893a437766cb8f750 /editor/node_dock.cpp
parent97d7d84cac161e5cad110ab0edc3b7ee7d9a20a4 (diff)
downloadgodot-7793bfc544deb6517ca68c3e295eaba27bf74910.tar.gz
godot-7793bfc544deb6517ca68c3e295eaba27bf74910.tar.zst
godot-7793bfc544deb6517ca68c3e295eaba27bf74910.zip
added icon updating to most ui elements
Diffstat (limited to 'editor/node_dock.cpp')
-rw-r--r--editor/node_dock.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/node_dock.cpp b/editor/node_dock.cpp
index bfbb2dc3d..7edaf0e5a 100644
--- a/editor/node_dock.cpp
+++ b/editor/node_dock.cpp
@@ -58,6 +58,9 @@ void NodeDock::_notification(int p_what) {
if (p_what == NOTIFICATION_ENTER_TREE) {
connections_button->set_icon(get_icon("Connect", "EditorIcons"));
groups_button->set_icon(get_icon("Groups", "EditorIcons"));
+ } else if (p_what == EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED) {
+ connections_button->set_icon(get_icon("Connect", "EditorIcons"));
+ groups_button->set_icon(get_icon("Groups", "EditorIcons"));
}
}