ENH:remove useless prompt information
jira:[STUDIO-7884] Change-Id: Ia3fa5f8c99859d693544d3cb2be47975c3ed7493 (cherry picked from commit d9a8d68042c49258905071e902ac3963a6b3575e)
This commit is contained in:
parent
8a2f5cd773
commit
bd754287ac
1 changed files with 8 additions and 9 deletions
|
@ -258,7 +258,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));
|
||||
|
@ -424,15 +424,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 {
|
||||
m_tip_readonly->SetLabelText(_L("Setting Virtual slot information while printing is not supported"));
|
||||
}
|
||||
}
|
||||
|
||||
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->Wrap(FromDIP(380));
|
||||
m_tip_readonly->Show(!en);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue