Skip to content

Commit 2cc0f68

Browse files
committed
Merge pull request #110602 from Calinou/editor-sort-scripts-by-tweak-setting-order
Tweak the enum visual order for Sort Scripts By editor setting
2 parents 9708b08 + a97dbc3 commit 2cc0f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/settings/editor_settings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
817817
_initial_set("text_editor/script_list/script_temperature_history_size", 15);
818818
_initial_set("text_editor/script_list/highlight_scene_scripts", true);
819819
_initial_set("text_editor/script_list/group_help_pages", true);
820-
EDITOR_SETTING(Variant::INT, PROPERTY_HINT_ENUM, "text_editor/script_list/sort_scripts_by", 0, "Name,Path,None");
820+
EDITOR_SETTING(Variant::INT, PROPERTY_HINT_ENUM, "text_editor/script_list/sort_scripts_by", 0, "None:2,Name:0,Path:1");
821821
EDITOR_SETTING(Variant::INT, PROPERTY_HINT_ENUM, "text_editor/script_list/list_script_names_as", 0, "Name,Parent Directory And Name,Full Path");
822822
EDITOR_SETTING(Variant::STRING, PROPERTY_HINT_GLOBAL_FILE, "text_editor/external/exec_path", "", "");
823823
EDITOR_SETTING(Variant::STRING, PROPERTY_HINT_PLACEHOLDER_TEXT, "text_editor/external/exec_flags", "{file}", "Call flags with placeholders: {project}, {file}, {col}, {line}.");

0 commit comments

Comments
 (0)