summaryrefslogtreecommitdiffstats
path: root/editor/project_export.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/project_export.cpp
parent08584b7e2215c852b80dc143cf712ccc73f9cacb (diff)
downloadredot-engine-2de1dfa42f821fcbc140d8ae8907c060135c584b.tar.gz
Update icons when theme changed
Diffstat (limited to 'editor/project_export.cpp')
-rw-r--r--editor/project_export.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/editor/project_export.cpp b/editor/project_export.cpp
index d15a37a19c..4dbd9d500e 100644
--- a/editor/project_export.cpp
+++ b/editor/project_export.cpp
@@ -56,6 +56,12 @@ void ProjectExportDialog::_notification(int p_what) {
case NOTIFICATION_POPUP_HIDE: {
EditorSettings::get_singleton()->set("interface/dialogs/export_bounds", get_rect());
} break;
+ case NOTIFICATION_THEME_CHANGED: {
+ delete_preset->set_icon(get_icon("Remove", "EditorIcons"));
+ Control *panel = custom_feature_display->get_parent_control();
+ if (panel)
+ panel->add_style_override("panel", get_stylebox("bg", "Tree"));
+ } break;
}
}