FIX:fixed isses with the devices dialog

Change-Id: I5e4822786fb2105893798b44622d080a593e41bb
This commit is contained in:
tao wang authored and Lane.Wei committed 2022-10-20 19:34:37 +08:00
1 parent 0761cbd1cb
commit 622f3da8df
3 files changed
+55 -31

No files matched your search

+1
View File
@@ -318,6 +318,7 @@ void MonitorPanel::on_printer_clicked(wxMouseEvent &event)
if (!m_side_tools->is_in_interval()) {
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));
#ifdef __linux__