bugfix: Find does not work in high contrast mode in GAL.
This commit is contained in:
parent
b556fb2324
commit
789bb9663c
|
@ -516,7 +516,14 @@ void SELECTION_TOOL::findCallback( BOARD_ITEM* aItem )
|
||||||
clearSelection();
|
clearSelection();
|
||||||
|
|
||||||
if( aItem )
|
if( aItem )
|
||||||
toggleSelection( aItem );
|
{
|
||||||
|
clearSelection();
|
||||||
|
select( aItem );
|
||||||
|
|
||||||
|
// Inform other potentially interested tools
|
||||||
|
TOOL_EVENT selectEvent( SelectedEvent );
|
||||||
|
m_toolMgr->ProcessEvent( selectEvent );
|
||||||
|
}
|
||||||
|
|
||||||
m_frame->GetGalCanvas()->ForceRefresh();
|
m_frame->GetGalCanvas()->ForceRefresh();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue