Pcbnew cross-probing: highlight in GAL canvas doesn't work properly when selecting a symbol in Eeschema on some installs.
This fix forces a refresh. Fixes: lp:1749799 https://bugs.launchpad.net/kicad/+bug/1749799
This commit is contained in:
parent
3c9a5b0966
commit
0ab15fa0ee
|
@ -864,6 +864,10 @@ int PCB_EDITOR_CONTROL::CrossProbeSchToPcb( const TOOL_EVENT& aEvent )
|
|||
// Otherwise simply select the corresponding item
|
||||
{
|
||||
m_toolMgr->RunAction( PCB_ACTIONS::selectItem, true, item );
|
||||
// Ensure the display is refreshed, because in some installs
|
||||
// the refresh is done only when the gal canvas has the focus, and
|
||||
// that is not the case when crossprobing from Eeschema:
|
||||
m_frame->GetGalCanvas()->Refresh();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue