diff options
| author | Rémi Verschelde | 2018-03-13 13:48:37 +0100 |
|---|---|---|
| committer | GitHub | 2018-03-13 13:48:37 +0100 |
| commit | 535205196f10a4bb7bc9370f864139aa84cfd3d6 (patch) | |
| tree | a069ee255c624da66fbcdfb12850a33c8b4875d8 /editor/plugins/item_list_editor_plugin.cpp | |
| parent | b1ae5ea4070d874ec2dc1dfb6f49512579afec9d (diff) | |
| parent | 2de1dfa42f821fcbc140d8ae8907c060135c584b (diff) | |
| download | godot-535205196f10a4bb7bc9370f864139aa84cfd3d6.tar.gz godot-535205196f10a4bb7bc9370f864139aa84cfd3d6.tar.zst godot-535205196f10a4bb7bc9370f864139aa84cfd3d6.zip | |
Merge pull request #17013 from Noshyaar/theme
Update icons when theme changed
Diffstat (limited to 'editor/plugins/item_list_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/item_list_editor_plugin.cpp | 2 |
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")); |
