Fix QA build
This commit is contained in:
parent
a85478df97
commit
d50e0811fb
|
@ -62,7 +62,9 @@ BOARD_COMMIT::BOARD_COMMIT( TOOL_MANAGER* aMgr ) :
|
||||||
m_toolMgr( aMgr ),
|
m_toolMgr( aMgr ),
|
||||||
m_isBoardEditor( false )
|
m_isBoardEditor( false )
|
||||||
{
|
{
|
||||||
if( dynamic_cast<PCB_EDIT_FRAME*>( aMgr->GetToolHolder() ) )
|
EDA_DRAW_FRAME* frame = dynamic_cast<EDA_DRAW_FRAME*>( aMgr->GetToolHolder() );
|
||||||
|
|
||||||
|
if( frame && frame->IsType( FRAME_PCB_EDITOR ) )
|
||||||
m_isBoardEditor = true;
|
m_isBoardEditor = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue