Highlight the first choice in rescue dialog

Fixes: lp:1455970
* https://bugs.launchpad.net/kicad/+bug/1455970
This commit is contained in:
Chris Pavlina 2017-03-27 08:44:47 -04:00
parent a9afb872d5
commit feba091594
1 changed files with 6 additions and 0 deletions

View File

@ -135,6 +135,12 @@ void DIALOG_RESCUE_EACH::PopulateConflictList()
m_ListOfConflicts->AppendItem( data );
}
if( !m_Rescuer->m_all_candidates.empty() )
{
// Select the first choice
m_ListOfConflicts->SelectRow( 0 );
}
}