mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
ENH:remove useless prompt information
jira:[STUDIO-7884] Change-Id: Ia3fa5f8c99859d693544d3cb2be47975c3ed7493 (cherry picked from commit d9a8d68042c49258905071e902ac3963a6b3575e)
This commit is contained in:
@@ -258,7 +258,7 @@ void AMSMaterialsSetting::create_panel_normal(wxWindow* parent)
|
|||||||
m_panel_SN->Fit();
|
m_panel_SN->Fit();
|
||||||
|
|
||||||
wxBoxSizer* m_tip_sizer = new wxBoxSizer(wxHORIZONTAL);
|
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->SetForegroundColour(*wxBLACK);
|
||||||
m_tip_readonly->SetBackgroundColour(*wxWHITE);
|
m_tip_readonly->SetBackgroundColour(*wxWHITE);
|
||||||
m_tip_readonly->SetMinSize(wxSize(FromDIP(380), -1));
|
m_tip_readonly->SetMinSize(wxSize(FromDIP(380), -1));
|
||||||
@@ -424,15 +424,14 @@ void AMSMaterialsSetting::enable_confirm_button(bool en)
|
|||||||
m_tip_readonly->Hide();
|
m_tip_readonly->Hide();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
//m_comboBox_filament->Show(en);
|
if (!obj->is_support_filament_setting_inprinting) {
|
||||||
//m_readonly_filament->Show(!en);
|
|
||||||
|
|
||||||
if (!is_virtual_tray()) {
|
if (!is_virtual_tray()) {
|
||||||
m_tip_readonly->SetLabelText(_L("Setting AMS slot information while printing is not supported"));
|
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->SetLabelText(_L("Setting Virtual slot information while printing is not supported"));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
m_tip_readonly->Wrap(FromDIP(380));
|
m_tip_readonly->Wrap(FromDIP(380));
|
||||||
m_tip_readonly->Show(!en);
|
m_tip_readonly->Show(!en);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user