summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorCarl Olsson <carl.olsson@gmail.com>2015-02-02 21:34:47 +1000
committerCarl Olsson <carl.olsson@gmail.com>2015-02-02 21:34:47 +1000
commitee44664b2a14c0878f2e137dc4b6a1fbf4013eab (patch)
tree1a1e4712f96c84a2457200a6047030b72d7981d1 /scene/gui
parentc5bf43f6eb8aa9815362b1f771396e68c7f26f0f (diff)
parent67d357191ff74b2cfc80015941363a97e7ee19fd (diff)
Merge branch 'master' of https://github.com/okamstudio/godot
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/tree.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp
index b7b52a39dc..035dbb8cc4 100644
--- a/scene/gui/tree.cpp
+++ b/scene/gui/tree.cpp
@@ -2472,6 +2472,10 @@ void Tree::_notification(int p_what) {
}
}
+ if (p_what==NOTIFICATION_THEME_CHANGED) {
+ update_cache();
+ }
+
}