diff options
| author | volzhs | 2017-12-27 04:41:08 +0900 |
|---|---|---|
| committer | volzhs | 2017-12-28 23:49:15 +0900 |
| commit | 4b0f075e9584b20f23f6f16f29ea078d8bd69650 (patch) | |
| tree | f2f9ee2ec7c497e453b48213651d33e61883e9fb /editor/settings_config_dialog.cpp | |
| parent | edd3bd8cb8a64c1c5bf770c7103809a0ba64a4f0 (diff) | |
| download | godot-4b0f075e9584b20f23f6f16f29ea078d8bd69650.tar.gz godot-4b0f075e9584b20f23f6f16f29ea078d8bd69650.tar.zst godot-4b0f075e9584b20f23f6f16f29ea078d8bd69650.zip | |
Respect text editor highlighting color changes
Fix #14838
Diffstat (limited to '')
| -rw-r--r-- | editor/settings_config_dialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/settings_config_dialog.cpp b/editor/settings_config_dialog.cpp index 2bdc82424..345f64760 100644 --- a/editor/settings_config_dialog.cpp +++ b/editor/settings_config_dialog.cpp @@ -61,6 +61,8 @@ void EditorSettingsDialog::_settings_property_edited(const String &p_name) { 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", 6); // set preset to Custom + } else if (full_name.begins_with("text_editor/highlighting")) { + EditorSettings::get_singleton()->set_manually("text_editor/theme/color_theme", "Custom"); } } |
