From 906991c4ac8c5f077386dc53232c25ae9e9c34ba Mon Sep 17 00:00:00 2001 From: Simon Wells Date: Sat, 12 Sep 2015 10:37:33 +1200 Subject: [PATCH] moved m_bm.Init as it is not required before initPgm --- kicad/kicad.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kicad/kicad.cpp b/kicad/kicad.cpp index 01db6fe30c..e166e2b49c 100644 --- a/kicad/kicad.cpp +++ b/kicad/kicad.cpp @@ -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 {