Use direct call to update highlighting on new sheet load

This commit is contained in:
Jon Evans 2019-11-29 16:04:31 -05:00
parent 719a70b510
commit 972d765aea
1 changed files with 4 additions and 1 deletions

View File

@ -288,6 +288,9 @@ void SCH_EDIT_FRAME::DisplayCurrentSheet()
UpdateTitle();
GetToolManager()->RunAction( EE_ACTIONS::updateNetHighlighting, true );
SCH_EDITOR_CONTROL* editTool = m_toolManager->GetTool<SCH_EDITOR_CONTROL>();
TOOL_EVENT dummy;
editTool->UpdateNetHighlighting( dummy );
HardRedraw(); // Ensure any item has its view updated, especially the worksheet items
}