Update size when updating ScriptCreateDialog

This commit is contained in:
Aaron Franke 2021-05-05 18:10:17 -04:00
parent 48d7eff3e3
commit e82f56e3a9
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF

View file

@ -513,7 +513,6 @@ void ScriptCreateDialog::_built_in_pressed() {
_path_changed(file_path->get_text());
}
_update_dialog();
minimum_size_changed();
}
void ScriptCreateDialog::_browse_path(bool browse_parent, bool p_save) {
@ -726,6 +725,7 @@ void ScriptCreateDialog::_update_dialog() {
}
get_ok()->set_disabled(!script_ok);
minimum_size_changed();
}
void ScriptCreateDialog::_bind_methods() {