Eeschema Better fix for highlight visibility issue for cached items due to last change in code in opengl

This commit is contained in:
jean-pierre charras 2018-10-14 14:59:40 +02:00
parent 9a62f508a4
commit 0777d11188
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ bool SCH_EDIT_FRAME::HighlightConnectionAtPosition( wxPoint aPosition )
SendCrossProbeNetName( m_SelectedNetName );
SetStatusText( "selected net: " + m_SelectedNetName );
SetCurrentSheetHighlightFlags();
// Be sure hightlight change will be redrawn in any case
GetGalCanvas()->GetView()->RecacheAllItems();
GetGalCanvas()->GetView()->MarkTargetDirty( KIGFX::TARGET_NONCACHED );
return buildNetlistOk;