FIX: disable send button for PrintStatusLanModeNoSdcard

jira: [STUDIO-100013]
Change-Id: I8077d81ab9ecdc8f4c3e5fe5269c87f4ebc41640
This commit is contained in:
xin.zhang 2025-01-19 18:27:39 +08:00 committed by lane.wei
parent 63ff1c6b2b
commit b47885b137
1 changed files with 1 additions and 1 deletions

View File

@ -1783,7 +1783,7 @@ void SelectMachineDialog::show_status(PrintDialogStatus status, std::vector<wxSt
} else if (status == PrintDialogStatus::PrintStatusLanModeNoSdcard) { } else if (status == PrintDialogStatus::PrintStatusLanModeNoSdcard) {
wxString msg_text = _L("Storage needs to be inserted before printing via LAN."); wxString msg_text = _L("Storage needs to be inserted before printing via LAN.");
update_print_status_msg(msg_text, true, true); update_print_status_msg(msg_text, true, true);
Enable_Send_Button(true); Enable_Send_Button(false);
Enable_Refresh_Button(true); Enable_Refresh_Button(true);
} else if (status == PrintDialogStatus::PrintStatusLanModeSDcardNotAvailable) { } else if (status == PrintDialogStatus::PrintStatusLanModeSDcardNotAvailable) {
wxString msg_text = _L("Storage is not available or is in read-only mode."); wxString msg_text = _L("Storage is not available or is in read-only mode.");