Only raise the parent when show=false
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16243
This commit is contained in:
parent
bd4278140f
commit
ef3e5b18dc
|
@ -324,10 +324,10 @@ bool DIALOG_SHIM::Show( bool show )
|
|||
#endif
|
||||
|
||||
ret = wxDialog::Show( show );
|
||||
}
|
||||
|
||||
if( m_parent )
|
||||
m_parent->SetFocus();
|
||||
if( m_parent )
|
||||
m_parent->SetFocus();
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue