Ensure m_Layers is null before it is created

This commit is contained in:
Jon Evans 2018-02-24 11:53:52 -05:00 committed by Wayne Stambaugh
parent 821a411ac0
commit baea3080ad
1 changed files with 1 additions and 0 deletions

View File

@ -333,6 +333,7 @@ PCB_EDIT_FRAME::PCB_EDIT_FRAME( KIWAY* aKiway, wxWindow* aParent ) :
m_hotkeysDescrList = g_Board_Editor_Hotkeys_Descr;
m_hasAutoSave = true;
m_microWaveToolBar = NULL;
m_Layers = nullptr;
m_rotationAngle = 900;