Attempt to fix nullptr error when looking up units scale in pl_editor.
(I can't be sure if this works or not because my M1 build won't launch pl_editor for some reason.) Fixes https://gitlab.com/kicad/code/kicad/issues/12717
This commit is contained in:
parent
96fed676a3
commit
38c863c3f4
|
@ -55,7 +55,7 @@
|
|||
// The layout shape used in the application
|
||||
// It is accessible by DS_DATA_MODEL::GetTheInstance()
|
||||
static DS_DATA_MODEL wksTheInstance;
|
||||
static DS_DATA_MODEL* wksAltInstance;
|
||||
static DS_DATA_MODEL* wksAltInstance = nullptr;
|
||||
|
||||
DS_DATA_MODEL::DS_DATA_MODEL() :
|
||||
m_WSunits2Iu( 1000.0 ),
|
||||
|
|
Loading…
Reference in New Issue