FIX:The sync button shouldn't show for third-part mutli-extruder preset
jira: STUDIO-10779 Change-Id: I56aec127f4314e09bfab9626c6061d8264f0998d
This commit is contained in:
parent
f38d8f959f
commit
eccf84c4ef
|
@ -498,6 +498,7 @@ struct Sidebar::priv
|
|||
|
||||
void Sidebar::priv::layout_printer(bool isBBL, bool isDual)
|
||||
{
|
||||
isDual = isDual && isBBL; // It indicates a multi-extruder layout.
|
||||
// Printer - preset
|
||||
if (auto sizer = static_cast<wxBoxSizer *>(panel_printer_preset->GetSizer());
|
||||
sizer == nullptr || isDual != (sizer->GetOrientation() == wxVERTICAL)) {
|
||||
|
|
Loading…
Reference in New Issue