diff --git a/eeschema/sync_sheet_pin/dialog_sync_sheet_pins.cpp b/eeschema/sync_sheet_pin/dialog_sync_sheet_pins.cpp index cb76fc5f42..a374f7e91c 100644 --- a/eeschema/sync_sheet_pin/dialog_sync_sheet_pins.cpp +++ b/eeschema/sync_sheet_pin/dialog_sync_sheet_pins.cpp @@ -111,9 +111,10 @@ DIALOG_SYNC_SHEET_PINS::DIALOG_SYNC_SHEET_PINS( wxWindow* aParent, } } - m_sizerMain->Layout(); - m_sizerMain->Fit( this ); Bind( wxEVT_CLOSE_WINDOW, &DIALOG_SYNC_SHEET_PINS::OnClose, this ); + + // Now all widgets have the size fixed, call FinishDialogSettings + finishDialogSettings(); }