diff --git a/lib/Slic3r/GUI/Plater/ObjectSettingsDialog.pm b/lib/Slic3r/GUI/Plater/ObjectSettingsDialog.pm index e8f6b938e..bf2e50dcc 100644 --- a/lib/Slic3r/GUI/Plater/ObjectSettingsDialog.pm +++ b/lib/Slic3r/GUI/Plater/ObjectSettingsDialog.pm @@ -33,6 +33,9 @@ sub new { # notify tabs $self->{layers}->Closing; + # save window size + wxTheApp->save_window_pos($self, "object_settings"); + $self->EndModal(wxID_OK); $self->Destroy; }); @@ -44,6 +47,8 @@ sub new { $self->SetSizer($sizer); $self->SetMinSize($self->GetSize); + wxTheApp->restore_window_pos($self, "object_settings"); + return $self; }