ENH:optimizing tips of virtual tray
Change-Id: If688bd2e28036380aa73e01491aa370f4d9523a4
This commit is contained in:
parent
d5f2a3e748
commit
b4e49bdc17
|
@ -367,6 +367,13 @@ void AMSMaterialsSetting::enable_confirm_button(bool en)
|
||||||
else {
|
else {
|
||||||
m_comboBox_filament->Show(en);
|
m_comboBox_filament->Show(en);
|
||||||
m_readonly_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);
|
m_tip_readonly->Show(!en);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue