summaryrefslogtreecommitdiffstats
path: root/editor/plugins/tile_set_editor_plugin.cpp
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2018-02-25 23:04:16 +0700
committerPoommetee Ketson <poommetee@protonmail.com>2018-02-25 23:04:16 +0700
commit2de1dfa42f821fcbc140d8ae8907c060135c584b (patch)
treecd725829b00009f6df3138458eeb7a3ae6485984 /editor/plugins/tile_set_editor_plugin.cpp
parent08584b7e2215c852b80dc143cf712ccc73f9cacb (diff)
downloadredot-engine-2de1dfa42f821fcbc140d8ae8907c060135c584b.tar.gz
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 71c0d8a782..56f4417775 100644
--- a/editor/plugins/tile_set_editor_plugin.cpp
+++ b/editor/plugins/tile_set_editor_plugin.cpp
@@ -256,7 +256,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"));