aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/texture_region_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2018-03-13 13:48:37 +0100
committerGitHub2018-03-13 13:48:37 +0100
commit535205196f10a4bb7bc9370f864139aa84cfd3d6 (patch)
treea069ee255c624da66fbcdfb12850a33c8b4875d8 /editor/plugins/texture_region_editor_plugin.cpp
parentb1ae5ea4070d874ec2dc1dfb6f49512579afec9d (diff)
parent2de1dfa42f821fcbc140d8ae8907c060135c584b (diff)
downloadgodot-535205196f10a4bb7bc9370f864139aa84cfd3d6.tar.gz
godot-535205196f10a4bb7bc9370f864139aa84cfd3d6.tar.zst
godot-535205196f10a4bb7bc9370f864139aa84cfd3d6.zip
Diffstat (limited to 'editor/plugins/texture_region_editor_plugin.cpp')
-rw-r--r--editor/plugins/texture_region_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp
index 8272ec2ef..4367fe897 100644
--- a/editor/plugins/texture_region_editor_plugin.cpp
+++ b/editor/plugins/texture_region_editor_plugin.cpp
@@ -601,6 +601,7 @@ void TextureRegionEditor::apply_rect(const Rect2 &rect) {
void TextureRegionEditor::_notification(int p_what) {
switch (p_what) {
+ case NOTIFICATION_THEME_CHANGED:
case NOTIFICATION_READY: {
zoom_out->set_icon(get_icon("ZoomLess", "EditorIcons"));
zoom_reset->set_icon(get_icon("ZoomReset", "EditorIcons"));