mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-20 10:50:33 -07:00
Fixed restoring of application starting position
This commit is contained in:
@@ -1394,7 +1394,9 @@ void GUI_App::window_pos_restore(wxTopLevelWindow* window, const std::string &na
|
||||
return;
|
||||
}
|
||||
|
||||
window->SetSize(metrics->get_rect());
|
||||
const wxRect& rect = metrics->get_rect();
|
||||
window->SetPosition(rect.GetPosition());
|
||||
window->SetSize(rect.GetSize());
|
||||
window->Maximize(metrics->get_maximized());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user