aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/item_list_editor_plugin.cpp
diff options
context:
space:
mode:
authorPoommetee Ketson2018-02-25 23:04:16 +0700
committerPoommetee Ketson2018-02-25 23:04:16 +0700
commit2de1dfa42f821fcbc140d8ae8907c060135c584b (patch)
treecd725829b00009f6df3138458eeb7a3ae6485984 /editor/plugins/item_list_editor_plugin.cpp
parent08584b7e2215c852b80dc143cf712ccc73f9cacb (diff)
downloadgodot-2de1dfa42f821fcbc140d8ae8907c060135c584b.tar.gz
godot-2de1dfa42f821fcbc140d8ae8907c060135c584b.tar.zst
godot-2de1dfa42f821fcbc140d8ae8907c060135c584b.zip
Update icons when theme changed
Diffstat (limited to 'editor/plugins/item_list_editor_plugin.cpp')
-rw-r--r--editor/plugins/item_list_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/item_list_editor_plugin.cpp b/editor/plugins/item_list_editor_plugin.cpp
index fd5a1f185..5020f5b85 100644
--- a/editor/plugins/item_list_editor_plugin.cpp
+++ b/editor/plugins/item_list_editor_plugin.cpp
@@ -247,7 +247,7 @@ void ItemListEditor::_node_removed(Node *p_node) {
void ItemListEditor::_notification(int p_notification) {
- if (p_notification == NOTIFICATION_ENTER_TREE) {
+ if (p_notification == NOTIFICATION_ENTER_TREE || p_notification == NOTIFICATION_THEME_CHANGED) {
add_button->set_icon(get_icon("Add", "EditorIcons"));
del_button->set_icon(get_icon("Remove", "EditorIcons"));