FIX: should not show tpu warning for P series printer

jira: STUDIO-11612
Change-Id: I947a16d3d95b009040a0ea26157e1c8004e36cc4
(cherry picked from commit 8ecc6aa224c1d44a804ecb0711162f56623037ca)
This commit is contained in:
zhimin.zeng 2025-05-07 16:41:18 +08:00 committed by Noisyfox
parent 54c402aec6
commit 36524f5199

View file

@ -3279,7 +3279,7 @@ void SelectMachineDialog::update_show_status(MachineObject* obj_)
}
}
if (!can_support_auto_cali() && m_checkbox_list["flow_cali"]->getValue() == "on") {
if (!can_support_auto_cali() && m_checkbox_list["flow_cali"]->IsShown() && m_checkbox_list["flow_cali"]->getValue() == "on") {
show_status(PrintDialogStatus::PrintStatusTPUUnsupportAutoCali);
return;
}