mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: try optimize the material settings refreshing
jira: [STUDIO-11086] Change-Id: I610304a7aa4a1b23e1e3fe7def157a93f5ae19af (cherry picked from commit 6eff893be393ad73a74bb41414c0d1aab4d4c6f3)
This commit is contained in:
@@ -424,8 +424,6 @@ void AMSMaterialsSetting::update()
|
||||
|
||||
void AMSMaterialsSetting::enable_confirm_button(bool en)
|
||||
{
|
||||
m_tip_readonly->SetLabelText(wxEmptyString);
|
||||
|
||||
if (!en) {
|
||||
m_button_confirm->Show(obj->is_support_filament_setting_inprinting);
|
||||
}
|
||||
@@ -434,6 +432,7 @@ void AMSMaterialsSetting::enable_confirm_button(bool en)
|
||||
}
|
||||
|
||||
if (!m_is_third) {
|
||||
m_tip_readonly->SetLabelText(wxEmptyString);
|
||||
m_tip_readonly->Hide();
|
||||
}
|
||||
else {
|
||||
@@ -443,6 +442,8 @@ void AMSMaterialsSetting::enable_confirm_button(bool en)
|
||||
} else {
|
||||
m_tip_readonly->SetLabelText(_L("Setting Virtual slot information while printing is not supported"));
|
||||
}
|
||||
} else {
|
||||
m_tip_readonly->SetLabelText(wxEmptyString);
|
||||
}
|
||||
|
||||
m_tip_readonly->Wrap(FromDIP(380));
|
||||
|
||||
Reference in New Issue
Block a user