summaryrefslogtreecommitdiff
path: root/editor/settings_config_dialog.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-26 19:17:21 +0200
committerGitHub <noreply@github.com>2017-09-26 19:17:21 +0200
commit9a87fe37c19d36b6edf5fbc7ccb08528f25833a9 (patch)
treedbe8246a2e9750e34f1490dd754349691e52a7d3 /editor/settings_config_dialog.cpp
parent7119858ce6b5e8dd045589da8387b1c1cd4c76ef (diff)
parent3e0d18b9c00609523b6d3090cfdcad8f618a7b3f (diff)
Merge pull request #11607 from volzhs/theme-update
Update theme property respectively
Diffstat (limited to 'editor/settings_config_dialog.cpp')
-rw-r--r--editor/settings_config_dialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/settings_config_dialog.cpp b/editor/settings_config_dialog.cpp
index c90626976d..aada90173a 100644
--- a/editor/settings_config_dialog.cpp
+++ b/editor/settings_config_dialog.cpp
@@ -58,6 +58,8 @@ void EditorSettingsDialog::_settings_property_edited(const String &p_name) {
// color theme is changed
if (full_name == "text_editor/theme/color_theme") {
property_editor->get_property_editor()->update_tree();
+ } else if (full_name == "interface/theme/accent_color" || full_name == "interface/theme/base_color" || full_name == "interface/theme/contrast") {
+ EditorSettings::get_singleton()->set_manually("interface/theme/preset", 5); // set preset to Custom
}
}