diff options
author | kobewi <kobewi4e@gmail.com> | 2022-11-23 00:14:08 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2024-02-19 21:34:45 +0100 |
commit | a031911c828da4f6f93950afa0688ac062bc96bd (patch) | |
tree | 67c9e6adbc28186ae60bff4afcb2ba2ece47bd59 /editor/plugins/text_shader_editor.cpp | |
parent | 0246230e2b7c542f003c3c53cffc22dedc0c9c50 (diff) | |
download | redot-engine-a031911c828da4f6f93950afa0688ac062bc96bd.tar.gz |
Use check_changed_settings_in_group() everywhere
Diffstat (limited to 'editor/plugins/text_shader_editor.cpp')
-rw-r--r-- | editor/plugins/text_shader_editor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/plugins/text_shader_editor.cpp b/editor/plugins/text_shader_editor.cpp index ea200419f6..17b48118ac 100644 --- a/editor/plugins/text_shader_editor.cpp +++ b/editor/plugins/text_shader_editor.cpp @@ -740,6 +740,9 @@ void TextShaderEditor::_notification(int p_what) { } void TextShaderEditor::_editor_settings_changed() { + if (!EditorSettings::get_singleton()->check_changed_settings_in_group("text_editor")) { + return; + } shader_editor->update_editor_settings(); shader_editor->get_text_editor()->add_theme_constant_override("line_spacing", EDITOR_GET("text_editor/appearance/whitespace/line_spacing")); |