bugfix: Find does not work in high contrast mode in GAL.

This commit is contained in:
Maciej Suminski 2015-01-29 18:23:54 +01:00
parent b556fb2324
commit 789bb9663c
1 changed files with 8 additions and 1 deletions

View File

@ -516,7 +516,14 @@ void SELECTION_TOOL::findCallback( BOARD_ITEM* aItem )
clearSelection();
if( aItem )
toggleSelection( aItem );
{
clearSelection();
select( aItem );
// Inform other potentially interested tools
TOOL_EVENT selectEvent( SelectedEvent );
m_toolMgr->ProcessEvent( selectEvent );
}
m_frame->GetGalCanvas()->ForceRefresh();
}