Eeschema: fix incorrect display of the page number in a complex hierarchy.
When, inside a complex hierarchy, one switch from an instance of a sheet to an other instance of this sheet, the page number shown in the worksheet was not updated on screen, and the initial number was displayed. Fixes: lp:1827981 https://bugs.launchpad.net/kicad/+bug/1827981
This commit is contained in:
parent
272c045c37
commit
2c43d4d6bf
|
@ -290,5 +290,5 @@ void SCH_EDIT_FRAME::DisplayCurrentSheet()
|
||||||
UpdateTitle();
|
UpdateTitle();
|
||||||
|
|
||||||
GetToolManager()->RunAction( SCH_ACTIONS::highlightNetSelection, true );
|
GetToolManager()->RunAction( SCH_ACTIONS::highlightNetSelection, true );
|
||||||
GetCanvas()->Refresh();
|
HardRedraw(); // Ensure any item has its view updated, especially the worksheet items
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue