ENH: do not allow to send print if no sdcard

Change-Id: Icfa325ceea865ecb695da95bb3293c6defe6d722
This commit is contained in:
Stone Li 2022-10-19 19:49:46 +08:00 committed by Lane.Wei
parent 92b0f591d3
commit 5e8f7a9102

View file

@ -1698,7 +1698,7 @@ void SelectMachineDialog::show_status(PrintDialogStatus status, std::vector<wxSt
} else if (status == PrintDialogStatus::PrintStatusNoSdcard) {
wxString msg_text = _L("An SD card needs to be inserted before printing.");
update_print_status_msg(msg_text, true, true);
Enable_Send_Button(true);
Enable_Send_Button(false);
Enable_Refresh_Button(true);
} else if (status == PrintDialogStatus::PrintStatusTimelapseNoSdcard) {
wxString msg_text = _L("An SD card needs to be inserted to recording timelapse");