Update connectivity before engaging highlight tool

This commit is contained in:
Jon Evans 2019-03-31 15:06:47 -04:00 committed by Wayne Stambaugh
parent 2466b4363d
commit 0f1ab3be2d
1 changed files with 5 additions and 0 deletions

View File

@ -561,6 +561,11 @@ void SCH_EDIT_FRAME::OnSelectTool( wxCommandEvent& aEvent )
break;
case ID_HIGHLIGHT:
// TODO(JE) remove once real-time connectivity is a given
#ifndef CONNECTIVITY_REAL_TIME
RecalculateConnections();
#endif
SetToolID( ID_HIGHLIGHT, wxCURSOR_HAND, _("Highlight specific net") );
break;