Initialize bools in the headers in editor

This commit is contained in:
Aaron Franke 2022-02-15 08:56:58 -06:00
parent d7019de7e3
commit 918b09cabc
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
70 changed files with 175 additions and 389 deletions

View file

@ -1128,9 +1128,6 @@ ProjectExportDialog::ProjectExportDialog() {
// Script export parameters.
updating_script_key = false;
updating_enc_filters = false;
VBoxContainer *sec_vb = memnew(VBoxContainer);
sec_vb->set_name(TTR("Encryption"));
@ -1195,8 +1192,6 @@ ProjectExportDialog::ProjectExportDialog() {
// Export buttons, dialogs and errors.
updating = false;
get_cancel_button()->set_text(TTR("Close"));
get_ok_button()->set_text(TTR("Export PCK/ZIP..."));
export_button = add_button(TTR("Export Project..."), !DisplayServer::get_singleton()->get_swap_cancel_ok(), "export");