mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
FIX:fixed the blocking module of linux
Change-Id: I06b357f9592631a729208514a3239f944a98cc96
This commit is contained in:
parent
851b6d6304
commit
6633ef4acf
9 changed files with 59 additions and 36 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue