diff --git a/pcbnew/dialogs/dialog_update_pcb.cpp b/pcbnew/dialogs/dialog_update_pcb.cpp index 6ed73d870a..c20da7c2a8 100644 --- a/pcbnew/dialogs/dialog_update_pcb.cpp +++ b/pcbnew/dialogs/dialog_update_pcb.cpp @@ -54,8 +54,8 @@ DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB( PCB_EDIT_FRAME* aParent, NETLIST* aNetlist m_messagePanel->SetVisibleSeverities( REPORTER::RPT_WARNING | REPORTER::RPT_ERROR | REPORTER::RPT_ACTION ); - m_messagePanel->GetSizer()->SetSizeHints(m_messagePanel); - GetSizer()->SetSizeHints(this); + m_messagePanel->GetSizer()->SetSizeHints( this ); + GetSizer()->SetSizeHints( this ); }