Commit 789bb966 authored by Maciej Suminski's avatar Maciej Suminski

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

parent b556fb23
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment