diff options
| author | Rémi Verschelde | 2018-06-25 16:39:23 +0200 |
|---|---|---|
| committer | GitHub | 2018-06-25 16:39:23 +0200 |
| commit | baf85f299c054564d4a6492b6e117a20d3aa1bda (patch) | |
| tree | a9ffc9496256fe9714e45372516936444b0417e4 /editor/settings_config_dialog.cpp | |
| parent | 4e867a1d7a3864ee8c9c8611b6cc406fa3f0900b (diff) | |
| parent | f29f7bf0e7f33b1f8da0ed9c8c2c8037c7ee4c5d (diff) | |
| download | godot-baf85f299c054564d4a6492b6e117a20d3aa1bda.tar.gz godot-baf85f299c054564d4a6492b6e117a20d3aa1bda.tar.zst godot-baf85f299c054564d4a6492b6e117a20d3aa1bda.zip | |
Diffstat (limited to 'editor/settings_config_dialog.cpp')
| -rw-r--r-- | editor/settings_config_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/settings_config_dialog.cpp b/editor/settings_config_dialog.cpp index eb9ab9322..ae88b3a03 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"); } |
