diff --git a/editor/project_export.cpp b/editor/project_export.cpp index 976eff0c563..8e5ef88698f 100644 --- a/editor/project_export.cpp +++ b/editor/project_export.cpp @@ -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); diff --git a/editor/project_export.h b/editor/project_export.h index b292976a78b..f8b6484477a 100644 --- a/editor/project_export.h +++ b/editor/project_export.h @@ -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();