mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX:fixed the blocking module of linux
Change-Id: I06b357f9592631a729208514a3239f944a98cc96
This commit is contained in:
@@ -319,6 +319,13 @@ void MonitorPanel::on_printer_clicked(wxMouseEvent &event)
|
||||
wxPoint pos = m_side_tools->ClientToScreen(wxPoint(0, 0));
|
||||
pos.y += m_side_tools->GetRect().height;
|
||||
m_select_machine.Position(pos, wxSize(0, 0));
|
||||
|
||||
#ifdef __linux__
|
||||
m_select_machine.SetSize(wxSize(m_side_tools->GetSize().x, -1));
|
||||
m_select_machine.SetMaxSize(wxSize(m_side_tools->GetSize().x, -1));
|
||||
m_select_machine.SetMinSize(wxSize(m_side_tools->GetSize().x, -1));
|
||||
#endif
|
||||
|
||||
m_select_machine.Popup();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user