mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-28 21:03:12 +08:00
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)
|
void Sidebar::priv::layout_printer(bool isBBL, bool isDual)
|
||||||
{
|
{
|
||||||
|
isDual = isDual && isBBL; // It indicates a multi-extruder layout.
|
||||||
// Printer - preset
|
// Printer - preset
|
||||||
if (auto sizer = static_cast<wxBoxSizer *>(panel_printer_preset->GetSizer());
|
if (auto sizer = static_cast<wxBoxSizer *>(panel_printer_preset->GetSizer());
|
||||||
sizer == nullptr || isDual != (sizer->GetOrientation() == wxVERTICAL)) {
|
sizer == nullptr || isDual != (sizer->GetOrientation() == wxVERTICAL)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user