From c4bbcd322b549282ab853c224588815e3f14b976 Mon Sep 17 00:00:00 2001 From: Ian Chua Date: Thu, 20 Aug 2026 19:28:02 +0800 Subject: [PATCH] fix: skip filament sync dialog if filamentSyncMode is none --- src/slic3r/GUI/Plater.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index b8cc0c738f..c3b2e1e786 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -4855,6 +4855,11 @@ template void setup_dialog_position(T& info) void Sidebar::pop_sync_nozzle_and_ams_dialog() { BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << " begin pop_sync_nozzle_and_ams_dialog"; + auto agent = wxGetApp().getAgent(); + if (!agent || agent->get_filament_sync_mode() == FilamentSyncMode::none) { + BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << " filament synchronization is not supported; skipping dialog"; + return; + } wxTheApp->CallAfter([this]() { SyncNozzleAndAmsDialog::InputInfo temp_na_info; wxPoint big_btn_pt;