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
|
#endif
|
||||||
|
|
||||||
ret = wxDialog::Show( show );
|
ret = wxDialog::Show( show );
|
||||||
}
|
|
||||||
|
|
||||||
if( m_parent )
|
if( m_parent )
|
||||||
m_parent->SetFocus();
|
m_parent->SetFocus();
|
||||||
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue