mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-20 23:11:41 +00:00
KiwayPlayer(FRAME_FOOTPRINT_CHOOSER): set window parent
The FRAME_FOOTPRINT_CHOOSER dialog is always a modal window, so it requires to have an parent. Set parent in dialog_field_properties.
This commit is contained in:
parent
2559ac50a3
commit
5e64f56d54
@ -358,7 +358,7 @@ void DIALOG_FIELD_PROPERTIES::OnTextValueSelectButtonClick( wxCommandEvent& aEve
|
||||
else
|
||||
fpid = m_TextCtrl->GetValue();
|
||||
|
||||
if( KIWAY_PLAYER* frame = Kiway().Player( FRAME_FOOTPRINT_CHOOSER, true ) )
|
||||
if( KIWAY_PLAYER* frame = Kiway().Player( FRAME_FOOTPRINT_CHOOSER, true, this ) )
|
||||
{
|
||||
KIWAY_EXPRESS event( FRAME_FOOTPRINT_CHOOSER, MAIL_SYMBOL_NETLIST, m_netlist );
|
||||
frame->KiwayMailIn( event );
|
||||
|
Loading…
Reference in New Issue
Block a user