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:
jean-pierre charras 2019-05-07 10:17:29 +02:00
parent 272c045c37
commit 2c43d4d6bf
1 changed files with 1 additions and 1 deletions

View File

@ -290,5 +290,5 @@ void SCH_EDIT_FRAME::DisplayCurrentSheet()
UpdateTitle();
GetToolManager()->RunAction( SCH_ACTIONS::highlightNetSelection, true );
GetCanvas()->Refresh();
HardRedraw(); // Ensure any item has its view updated, especially the worksheet items
}