1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Make build profile project detection also set build options

This commit is contained in:
Michael Alexsander
2025-03-06 15:42:10 -03:00
parent e45cc68092
commit 454e4f817c
28 changed files with 786 additions and 82 deletions

View File

@@ -1900,6 +1900,12 @@ void FileDialog::_bind_methods() {
base_property_helper.register_property(PropertyInfo(Variant::PACKED_STRING_ARRAY, "values"), defaults.values, &FileDialog::set_option_values, &FileDialog::get_option_values);
base_property_helper.register_property(PropertyInfo(Variant::INT, "default"), defaults.default_idx, &FileDialog::set_option_default, &FileDialog::get_option_default);
PropertyListHelper::register_base_helper(&base_property_helper);
ADD_CLASS_DEPENDENCY("Button");
ADD_CLASS_DEPENDENCY("ConfirmationDialog");
ADD_CLASS_DEPENDENCY("LineEdit");
ADD_CLASS_DEPENDENCY("OptionButton");
ADD_CLASS_DEPENDENCY("Tree");
}
void FileDialog::set_show_hidden_files(bool p_show) {