Fix entry selection issue in Eeschema find dialog combo box in wxGTK builds.
This commit is contained in:
committed by
Wayne Stambaugh
parent
d433a06d11
commit
28004abe58
@@ -265,7 +265,10 @@ void DIALOG_SCH_FIND::SetFindEntries( const wxArrayString& aEntries )
|
||||
m_comboFind->Append( aEntries );
|
||||
|
||||
if( m_comboFind->GetCount() )
|
||||
{
|
||||
m_comboFind->SetSelection( 0 );
|
||||
m_comboFind->SelectAll();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -274,5 +277,8 @@ void DIALOG_SCH_FIND::SetReplaceEntries( const wxArrayString& aEntries )
|
||||
m_comboReplace->Append( aEntries );
|
||||
|
||||
if( m_comboReplace->GetCount() )
|
||||
{
|
||||
m_comboReplace->SetSelection( 0 );
|
||||
m_comboFind->SelectAll();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user