From 63ba575f0e8881866d47c99bd521087210c57230 Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Tue, 20 May 2025 16:39:03 +0800 Subject: [PATCH] FIX:If studio is not activated in mac, the window of filme_group_popup will not pop up jira: STUDIO-12228 Change-Id: Ic1ca62e68fb13c7cbf8ee35f948b05b01e010a62 --- src/slic3r/GUI/MainFrame.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp index ff0f559cb..2edfa746a 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -1691,6 +1691,11 @@ wxBoxSizer* MainFrame::create_side_tools() m_filament_group_popup = new FilamentGroupPopup(m_slice_btn); auto try_hover_pop_up = [this]() { +#ifdef __APPLE__ + if (!IsActive()) { + return; + } +#endif wxPoint pos = m_slice_btn->ClientToScreen(wxPoint(0, 0)); pos.y += m_slice_btn->GetRect().height * 1.25; pos.x -= (m_slice_option_btn->GetRect().width + FromDIP(380) * 0.6);