Fix entry selection issue in Eeschema find dialog combo box in wxGTK builds.

This commit is contained in:
Martin d' Allens 2015-06-15 13:12:44 -04:00 committed by Wayne Stambaugh
parent d433a06d11
commit 28004abe58
1 changed files with 6 additions and 0 deletions

View File

@ -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();
}
}