mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
FIX:The sync button shouldn't show for third-part mutli-extruder preset
jira: STUDIO-10779 Change-Id: I56aec127f4314e09bfab9626c6061d8264f0998d (cherry picked from commit eccf84c4efb43decef1f60efecfe55f4fd62c6d3)
This commit is contained in:
@@ -500,6 +500,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)) {
|
||||
|
||||
Reference in New Issue
Block a user