FIX: disable send button for PrintStatusLanModeNoSdcard

jira: [STUDIO-100013]
Change-Id: I8077d81ab9ecdc8f4c3e5fe5269c87f4ebc41640
(cherry picked from commit b47885b1378ef51e7d006b81f0799336e54de995)
This commit is contained in:
xin.zhang 2025-01-19 18:27:39 +08:00 committed by Noisyfox
parent 6a2d4b878b
commit 491f7091dd

View file

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