Only raise the parent when show=false

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16243
This commit is contained in:
Seth Hillbrand 2023-12-04 16:55:15 -08:00
parent bd4278140f
commit ef3e5b18dc
1 changed files with 3 additions and 3 deletions

View File

@ -324,10 +324,10 @@ bool DIALOG_SHIM::Show( bool show )
#endif
ret = wxDialog::Show( show );
}
if( m_parent )
m_parent->SetFocus();
}
return ret;
}