summaryrefslogtreecommitdiff
path: root/editor/settings_config_dialog.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-06-25 16:39:23 +0200
committerGitHub <noreply@github.com>2018-06-25 16:39:23 +0200
commitbaf85f299c054564d4a6492b6e117a20d3aa1bda (patch)
treea9ffc9496256fe9714e45372516936444b0417e4 /editor/settings_config_dialog.cpp
parent4e867a1d7a3864ee8c9c8611b6cc406fa3f0900b (diff)
parentf29f7bf0e7f33b1f8da0ed9c8c2c8037c7ee4c5d (diff)
Merge pull request #19728 from Chaosus/theme_strings
Changed themes presets to String format
Diffstat (limited to 'editor/settings_config_dialog.cpp')
-rw-r--r--editor/settings_config_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/settings_config_dialog.cpp b/editor/settings_config_dialog.cpp
index eb9ab93228..ae88b3a035 100644
--- a/editor/settings_config_dialog.cpp
+++ b/editor/settings_config_dialog.cpp
@@ -61,7 +61,7 @@ void EditorSettingsDialog::_settings_property_edited(const String &p_name) {
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", 1); // set preset to Custom
+ EditorSettings::get_singleton()->set_manually("interface/theme/preset", "Custom"); // set preset to Custom
} else if (full_name.begins_with("text_editor/highlighting")) {
EditorSettings::get_singleton()->set_manually("text_editor/theme/color_theme", "Custom");
}