moved m_bm.Init as it is not required before initPgm
This commit is contained in:
parent
4541eb4f37
commit
906991c4ac
|
@ -100,8 +100,6 @@ bool PGM_KICAD::OnPgmInit( wxApp* aWxApp )
|
|||
{
|
||||
m_wx_app = aWxApp; // first thing.
|
||||
|
||||
m_bm.Init();
|
||||
|
||||
wxString absoluteArgv0 = wxStandardPaths::Get().GetExecutablePath();
|
||||
|
||||
if( !wxIsAbsolutePath( absoluteArgv0 ) )
|
||||
|
@ -117,6 +115,8 @@ bool PGM_KICAD::OnPgmInit( wxApp* aWxApp )
|
|||
if( !initPgm() )
|
||||
return false;
|
||||
|
||||
m_bm.Init();
|
||||
|
||||
// Add search paths to feed the PGM_KICAD::SysSearch() function,
|
||||
// currenly limited in support to only look for project templates
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue