From a6254c44fd70091a8b145cef64938cf73117446f Mon Sep 17 00:00:00 2001 From: tao wang Date: Thu, 15 Dec 2022 11:16:38 +0800 Subject: [PATCH] FIX:set popup position change to move popup Change-Id: I3417416dc6de4a40674f1ac98c4ba4fa593f3297 --- src/slic3r/GUI/Monitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Monitor.cpp b/src/slic3r/GUI/Monitor.cpp index 8a9687c62..536f825a4 100644 --- a/src/slic3r/GUI/Monitor.cpp +++ b/src/slic3r/GUI/Monitor.cpp @@ -324,7 +324,7 @@ void MonitorPanel::on_printer_clicked(wxMouseEvent &event) wxPoint pos = m_side_tools->ClientToScreen(wxPoint(0, 0)); pos.y += m_side_tools->GetRect().height; //pos.x = pos.x < 0? 0:pos.x; - m_select_machine.Position(pos, wxSize(0, 0)); + m_select_machine.Move(pos); #ifdef __linux__ m_select_machine.SetSize(wxSize(m_side_tools->GetSize().x, -1));