ENH:The warning will not be displayed while the file is still being sent

jira:[STUDIO-12371]

Change-Id: I429a8a5af080dfd869b3a72d050e3019b9560665
(cherry picked from commit 95d43cb1aaf2f0dabcf4449c885039d7f9cb62ef)
This commit is contained in:
milk 2025-05-27 14:38:28 +08:00 committed by Noisyfox
parent ea6a093477
commit 8242f28b38

View file

@ -1247,8 +1247,6 @@ void SendToPrinterDialog::update_show_status()
}
/* check cloud machine connections */
if (!obj_->is_lan_mode_printer()) {
if (!agent->is_server_connected()) {
@ -1258,7 +1256,7 @@ void SendToPrinterDialog::update_show_status()
}
}
if (!obj_->is_info_ready() || !obj_->is_online() || !obj_->is_connected()) {
if (!obj_->is_info_ready()) {
if (is_timeout()) {
show_status(PrintDialogStatus::PrintStatusReadingTimeout);
return;