From d4d4b76ce54b030de255d7382a831674b8c79817 Mon Sep 17 00:00:00 2001 From: "xin.zhang" Date: Fri, 14 Feb 2025 12:06:37 +0800 Subject: [PATCH] FIX: prevent the dialog in macOS jira: [STUDIO-10386] Change-Id: I19c5df3c2c110979d57190c9219f76f6f6911f85 --- src/slic3r/GUI/StatusPanel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/StatusPanel.cpp b/src/slic3r/GUI/StatusPanel.cpp index a1cb4edc2..948c79413 100644 --- a/src/slic3r/GUI/StatusPanel.cpp +++ b/src/slic3r/GUI/StatusPanel.cpp @@ -3935,10 +3935,10 @@ void StatusPanel::on_set_chamber_temp() wxEmptyString, wxICON_WARNING | wxOK | wxCANCEL); } - if (champer_switch_head_dlg->ShowModal() != wxID_OK) - { - return; - } + /*the dialog will be blocked APPLE, let the printer send back message*/ +#ifndef _APPLE + if (champer_switch_head_dlg->ShowModal() != wxID_OK) { return; } +#endif // _APPLE } obj->command_set_chamber(chamber_temp);