mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Use direct call to update highlighting on new sheet load
This commit is contained in:
parent
719a70b510
commit
972d765aea
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user