DIALOG_BOARD_SETUP: fix incorrect parent for the PANEL_TEXT_VARIABLES panel.
Fixes #4548 https://gitlab.com/kicad/code/kicad/issues/4548
This commit is contained in:
parent
bf889e91fe
commit
53360acc3d
|
@ -52,7 +52,7 @@ DIALOG_BOARD_SETUP::DIALOG_BOARD_SETUP( PCB_EDIT_FRAME* aFrame ) :
|
|||
m_severities = new PANEL_SETUP_SEVERITIES( this, dummyItem, bds.m_DRCSeverities,
|
||||
DRCE_FIRST, DRCE_LAST );
|
||||
|
||||
m_textVars = new PANEL_TEXT_VARIABLES( this, &Prj() );
|
||||
m_textVars = new PANEL_TEXT_VARIABLES( m_treebook, &Prj() );
|
||||
|
||||
/*
|
||||
* WARNING: If you change page names you MUST update calls to ShowBoardSetupDialog().
|
||||
|
|
Loading…
Reference in New Issue