Eeschema Better fix for highlight visibility issue for cached items due to last change in code in opengl
This commit is contained in:
parent
9a62f508a4
commit
0777d11188
|
@ -70,6 +70,8 @@ bool SCH_EDIT_FRAME::HighlightConnectionAtPosition( wxPoint aPosition )
|
||||||
SendCrossProbeNetName( m_SelectedNetName );
|
SendCrossProbeNetName( m_SelectedNetName );
|
||||||
SetStatusText( "selected net: " + m_SelectedNetName );
|
SetStatusText( "selected net: " + m_SelectedNetName );
|
||||||
SetCurrentSheetHighlightFlags();
|
SetCurrentSheetHighlightFlags();
|
||||||
|
// Be sure hightlight change will be redrawn in any case
|
||||||
|
GetGalCanvas()->GetView()->RecacheAllItems();
|
||||||
GetGalCanvas()->GetView()->MarkTargetDirty( KIGFX::TARGET_NONCACHED );
|
GetGalCanvas()->GetView()->MarkTargetDirty( KIGFX::TARGET_NONCACHED );
|
||||||
|
|
||||||
return buildNetlistOk;
|
return buildNetlistOk;
|
||||||
|
|
Loading…
Reference in New Issue