Eeschema, dialog Find: do not force a position on screen when reopen dlg.

The last position will be used.
Fixes #8969
https://gitlab.com/kicad/code/kicad/issues/8969
This commit is contained in:
jean-pierre charras 2021-08-19 15:40:38 +02:00
parent 9f8f81cae2
commit 13083c80c2
1 changed files with 0 additions and 2 deletions

View File

@ -68,8 +68,6 @@ DIALOG_SCH_FIND::DIALOG_SCH_FIND( SCH_EDIT_FRAME* aParent, wxFindReplaceData* aD
m_buttonFind->SetDefault(); m_buttonFind->SetDefault();
SetInitialFocus( m_comboFind ); SetInitialFocus( m_comboFind );
SetPosition( aPosition );
// Adjust the height of the dialog to prevent controls from being hidden when // Adjust the height of the dialog to prevent controls from being hidden when
// switching between the find and find/replace modes of the dialog. This ignores // switching between the find and find/replace modes of the dialog. This ignores
// the users preferred height if any of the controls would be hidden. // the users preferred height if any of the controls would be hidden.