Merge pull request #25175 from Calinou/make-export-debug-more-visible

Make "Export with Debug" more visible in the Export dialog
This commit is contained in:
Rémi Verschelde 2019-01-21 10:56:00 +01:00 committed by GitHub
commit 38a5a23a12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -1298,12 +1298,12 @@ ProjectExportDialog::ProjectExportDialog() {
export_project->connect("file_selected", this, "_export_project_to_path");
export_project->get_line_edit()->connect("text_changed", this, "_validate_export_path");
export_debug = memnew(CheckButton);
export_debug = memnew(CheckBox);
export_debug->set_text(TTR("Export With Debug"));
export_debug->set_pressed(true);
export_project->get_vbox()->add_child(export_debug);
export_pck_zip_debug = memnew(CheckButton);
export_pck_zip_debug = memnew(CheckBox);
export_pck_zip_debug->set_text(TTR("Export With Debug"));
export_pck_zip_debug->set_pressed(true);
export_pck_zip->get_vbox()->add_child(export_pck_zip_debug);

View file

@ -141,8 +141,8 @@ private:
FileDialog *export_pck_zip;
FileDialog *export_project;
CheckButton *export_debug;
CheckButton *export_pck_zip_debug;
CheckBox *export_debug;
CheckBox *export_pck_zip_debug;
void _open_export_template_manager();