@@ -893,8 +893,10 @@ void ProjectExportDialog::_export_project_to_path(const String &p_path) {
893893}
894894
895895void ProjectExportDialog::_export_all_dialog () {
896+ #ifndef ANDROID_ENABLED
896897 export_all_dialog->show ();
897898 export_all_dialog->popup_centered_minsize (Size2 (300 , 80 ));
899+ #endif
898900}
899901
900902void ProjectExportDialog::_export_all_dialog_action (const String &p_str) {
@@ -1152,11 +1154,16 @@ ProjectExportDialog::ProjectExportDialog() {
11521154
11531155 get_cancel ()->set_text (TTR (" Close" ));
11541156 get_ok ()->set_text (TTR (" Export PCK/Zip..." ));
1157+ get_ok ()->set_disabled (true );
1158+ #ifdef ANDROID_ENABLED
1159+ export_button = memnew (Button);
1160+ export_button->hide ();
1161+ #else
11551162 export_button = add_button (TTR (" Export Project..." ), !OS::get_singleton ()->get_swap_ok_cancel (), " export" );
1163+ #endif
11561164 export_button->connect (" pressed" , this , " _export_project" );
11571165 // Disable initially before we select a valid preset
11581166 export_button->set_disabled (true );
1159- get_ok ()->set_disabled (true );
11601167
11611168 export_all_dialog = memnew (ConfirmationDialog);
11621169 add_child (export_all_dialog);
@@ -1166,8 +1173,14 @@ ProjectExportDialog::ProjectExportDialog() {
11661173 export_all_dialog->add_button (TTR (" Debug" ), true , " debug" );
11671174 export_all_dialog->add_button (TTR (" Release" ), true , " release" );
11681175 export_all_dialog->connect (" custom_action" , this , " _export_all_dialog_action" );
1176+ #ifdef ANDROID_ENABLED
1177+ export_all_dialog->hide ();
11691178
1179+ export_all_button = memnew (Button);
1180+ export_all_button->hide ();
1181+ #else
11701182 export_all_button = add_button (TTR (" Export All..." ), !OS::get_singleton ()->get_swap_ok_cancel (), " export" );
1183+ #endif
11711184 export_all_button->connect (" pressed" , this , " _export_all_dialog" );
11721185 export_all_button->set_disabled (true );
11731186
0 commit comments