Eeschema doesn't show highlight net until a screen redraw is made.
Fixes: lp:1796989 https://bugs.launchpad.net/kicad/+bug/1796989
This commit is contained in:
parent
94cc1efbcc
commit
5c8c1cdb8f
|
@ -29,6 +29,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <fctsys.h>
|
#include <fctsys.h>
|
||||||
|
#include <sch_view.h>
|
||||||
#include <sch_draw_panel.h>
|
#include <sch_draw_panel.h>
|
||||||
#include <sch_edit_frame.h>
|
#include <sch_edit_frame.h>
|
||||||
#include <erc.h>
|
#include <erc.h>
|
||||||
|
@ -69,7 +70,7 @@ 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();
|
||||||
m_canvas->Refresh();
|
GetGalCanvas()->GetView()->MarkTargetDirty( KIGFX::TARGET_NONCACHED );
|
||||||
|
|
||||||
return buildNetlistOk;
|
return buildNetlistOk;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue