ENH:optimizing tips of virtual tray

Change-Id: If688bd2e28036380aa73e01491aa370f4d9523a4
This commit is contained in:
tao wang 2023-02-22 18:46:33 +08:00 committed by Lane.Wei
parent d5f2a3e748
commit b4e49bdc17

View file

@ -367,6 +367,13 @@ void AMSMaterialsSetting::enable_confirm_button(bool en)
else {
m_comboBox_filament->Show(en);
m_readonly_filament->Show(!en);
if ( !is_virtual_tray() ) {
m_tip_readonly->SetLabelText(_L("Setting AMS slot information while printing is not supported"));
}
else {
m_tip_readonly->SetLabelText(_L("Setting Virtual slot information while printing is not supported"));
}
m_tip_readonly->Show(!en);
}
}