diff --git a/common/widgets/paged_dialog.cpp b/common/widgets/paged_dialog.cpp index f352c32527..ee4e925fb5 100644 --- a/common/widgets/paged_dialog.cpp +++ b/common/widgets/paged_dialog.cpp @@ -43,7 +43,8 @@ PAGED_DIALOG::PAGED_DIALOG( wxWindow* aParent, const wxString& aTitle, bool aUse m_errorCtrl( nullptr ), m_errorRow( 0 ), m_errorCol( 0 ), - m_auxiliaryButton( nullptr ) + m_auxiliaryButton( nullptr ), + m_resetButton( nullptr ) { auto mainSizer = new wxBoxSizer( wxVERTICAL ); SetSizer( mainSizer ); diff --git a/eeschema/dialogs/dialog_update_from_pcb.cpp b/eeschema/dialogs/dialog_update_from_pcb.cpp index 5c8d9a2812..ce15ee5b6e 100644 --- a/eeschema/dialogs/dialog_update_from_pcb.cpp +++ b/eeschema/dialogs/dialog_update_from_pcb.cpp @@ -30,7 +30,7 @@ // Saved dialog settings DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB_SAVED_STATE - DIALOG_UPDATE_FROM_PCB::s_savedDialogState{ true, true, true, true, false }; + DIALOG_UPDATE_FROM_PCB::s_savedDialogState{ true, true, true, true, false, false }; DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB( SCH_EDIT_FRAME* aParent ) : DIALOG_UPDATE_FROM_PCB_BASE( aParent ),