mirror of
https://github.com/godotengine/godot.git
synced 2025-10-24 10:23:28 +00:00
Use check_changed_settings_in_group() everywhere
This commit is contained in:
parent
0246230e2b
commit
a031911c82
36 changed files with 213 additions and 69 deletions
|
|
@ -2779,6 +2779,11 @@ void ScriptEditor::_save_layout() {
|
|||
}
|
||||
|
||||
void ScriptEditor::_editor_settings_changed() {
|
||||
if (!EditorSettings::get_singleton()->check_changed_settings_in_group("text_editor") &&
|
||||
!EditorSettings::get_singleton()->check_changed_settings_in_group("docks/filesystem")) {
|
||||
return;
|
||||
}
|
||||
|
||||
textfile_extensions.clear();
|
||||
const Vector<String> textfile_ext = ((String)(EDITOR_GET("docks/filesystem/textfile_extensions"))).split(",", false);
|
||||
for (const String &E : textfile_ext) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue