Initialize variables properly
Fixes https://gitlab.com/kicad/code/kicad/issues/4919
This commit is contained in:
parent
aa7ab46a06
commit
cc688a3e1d
|
@ -43,7 +43,8 @@ PAGED_DIALOG::PAGED_DIALOG( wxWindow* aParent, const wxString& aTitle, bool aUse
|
||||||
m_errorCtrl( nullptr ),
|
m_errorCtrl( nullptr ),
|
||||||
m_errorRow( 0 ),
|
m_errorRow( 0 ),
|
||||||
m_errorCol( 0 ),
|
m_errorCol( 0 ),
|
||||||
m_auxiliaryButton( nullptr )
|
m_auxiliaryButton( nullptr ),
|
||||||
|
m_resetButton( nullptr )
|
||||||
{
|
{
|
||||||
auto mainSizer = new wxBoxSizer( wxVERTICAL );
|
auto mainSizer = new wxBoxSizer( wxVERTICAL );
|
||||||
SetSizer( mainSizer );
|
SetSizer( mainSizer );
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
// Saved dialog settings
|
// Saved dialog settings
|
||||||
DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB_SAVED_STATE
|
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::DIALOG_UPDATE_FROM_PCB( SCH_EDIT_FRAME* aParent )
|
||||||
: DIALOG_UPDATE_FROM_PCB_BASE( aParent ),
|
: DIALOG_UPDATE_FROM_PCB_BASE( aParent ),
|
||||||
|
|
Loading…
Reference in New Issue