Cross probing: ensure highlighted net in Eeschema is shown when cross probed from Pcbnew.
This commit is contained in:
parent
9c398dbf90
commit
906c08afc6
|
@ -42,6 +42,7 @@
|
||||||
#include <lib_pin.h>
|
#include <lib_pin.h>
|
||||||
#include <sch_component.h>
|
#include <sch_component.h>
|
||||||
#include <sch_sheet.h>
|
#include <sch_sheet.h>
|
||||||
|
#include <sch_view.h>
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -81,7 +82,9 @@ void SCH_EDIT_FRAME::ExecuteRemoteCommand( const char* cmdline )
|
||||||
|
|
||||||
SetStatusText( _( "Selected net: " ) + m_SelectedNetName );
|
SetStatusText( _( "Selected net: " ) + m_SelectedNetName );
|
||||||
SetCurrentSheetHighlightFlags();
|
SetCurrentSheetHighlightFlags();
|
||||||
m_canvas->Refresh();
|
// Be sure hightlight change will be redrawn in any case
|
||||||
|
GetGalCanvas()->GetView()->RecacheAllItems();
|
||||||
|
GetGalCanvas()->GetView()->MarkTargetDirty( KIGFX::TARGET_NONCACHED );
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue