More icon updates on theme change

This commit is contained in:
Haoyu Qiu 2022-03-15 23:05:12 +08:00
parent 51bbcbdec2
commit 0ac6e6acbe
5 changed files with 24 additions and 11 deletions

View file

@ -39,7 +39,8 @@
void ResourcePreloaderEditor::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE: {
case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_THEME_CHANGED: {
load->set_icon(get_theme_icon(SNAME("Folder"), SNAME("EditorIcons")));
} break;
}