An another small tweak.

This commit is contained in:
Relintai 2024-07-16 20:46:09 +02:00
parent 38dd206a3b
commit 85945392a3

View File

@ -356,7 +356,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
_initial_set("interface/editor/quit_confirmation", true);
_initial_set("interface/editor/accept_dialog_cancel_ok_buttons", 0);
hints["interface/editor/accept_dialog_cancel_ok_buttons"] = PropertyInfo(Variant::INT, "interface/editor/accept_dialog_cancel_ok_buttons", PROPERTY_HINT_ENUM, vformat("Auto (%s),Cancel First,OK First", OS::get_singleton()->get_swap_ok_cancel() ? "OK First" : "Cancel First"), PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_RESTART_IF_CHANGED);
_initial_set("interface/editor/hide_main_screen_plugin_names", false);
_initial_set("interface/editor/hide_main_screen_plugin_names", true);
// Inspector
_initial_set("interface/inspector/max_array_dictionary_items_per_page", 20);