ENH:remove useless prompt information

jira:[STUDIO-7884]

Change-Id: Ia3fa5f8c99859d693544d3cb2be47975c3ed7493
This commit is contained in:
tao wang 2024-10-14 11:26:03 +08:00 committed by Lane.Wei
parent 072ba8339b
commit d9a8d68042
1 changed files with 8 additions and 9 deletions

View File

@ -283,7 +283,7 @@ void AMSMaterialsSetting::create_panel_normal(wxWindow* parent)
m_panel_SN->Fit();
wxBoxSizer* m_tip_sizer = new wxBoxSizer(wxHORIZONTAL);
m_tip_readonly = new Label(parent, _L("Setting AMS slot information while printing is not supported"));
m_tip_readonly = new Label(parent, _L(""));
m_tip_readonly->SetForegroundColour(*wxBLACK);
m_tip_readonly->SetBackgroundColour(*wxWHITE);
m_tip_readonly->SetMinSize(wxSize(FromDIP(380), -1));
@ -449,15 +449,14 @@ void AMSMaterialsSetting::enable_confirm_button(bool en)
m_tip_readonly->Hide();
}
else {
//m_comboBox_filament->Show(en);
//m_readonly_filament->Show(!en);
if (!obj->is_support_filament_setting_inprinting) {
if (!is_virtual_tray()) {
m_tip_readonly->SetLabelText(_L("Setting AMS slot information while printing is not supported"));
}
else {
} else {
m_tip_readonly->SetLabelText(_L("Setting Virtual slot information while printing is not supported"));
}
}
m_tip_readonly->Wrap(FromDIP(380));
m_tip_readonly->Show(!en);
}