summaryrefslogtreecommitdiffstats
path: root/editor/plugins/tile_set_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-03-13 13:48:37 +0100
committerGitHub <noreply@github.com>2018-03-13 13:48:37 +0100
commit535205196f10a4bb7bc9370f864139aa84cfd3d6 (patch)
treea069ee255c624da66fbcdfb12850a33c8b4875d8 /editor/plugins/tile_set_editor_plugin.cpp
parentb1ae5ea4070d874ec2dc1dfb6f49512579afec9d (diff)
parent2de1dfa42f821fcbc140d8ae8907c060135c584b (diff)
downloadredot-engine-535205196f10a4bb7bc9370f864139aa84cfd3d6.tar.gz
Merge pull request #17013 from Noshyaar/theme
Update icons when theme changed
Diffstat (limited to 'editor/plugins/tile_set_editor_plugin.cpp')
-rw-r--r--editor/plugins/tile_set_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tile_set_editor_plugin.cpp b/editor/plugins/tile_set_editor_plugin.cpp
index fb16c59dc9..2311439728 100644
--- a/editor/plugins/tile_set_editor_plugin.cpp
+++ b/editor/plugins/tile_set_editor_plugin.cpp
@@ -257,7 +257,7 @@ void TileSetEditor::_bind_methods() {
}
void TileSetEditor::_notification(int p_what) {
- if (p_what == NOTIFICATION_ENTER_TREE) {
+ if (p_what == NOTIFICATION_ENTER_TREE || p_what == NOTIFICATION_THEME_CHANGED) {
tools[TOOL_SELECT]->set_icon(get_icon("ToolSelect", "EditorIcons"));
tools[BITMASK_COPY]->set_icon(get_icon("Duplicate", "EditorIcons"));
tools[BITMASK_PASTE]->set_icon(get_icon("Override", "EditorIcons"));