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:
jean-pierre charras 2020-05-27 09:24:32 +02:00
parent bf889e91fe
commit 53360acc3d
1 changed files with 1 additions and 1 deletions

View File

@ -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().