From bb40f86daaa911ae280e0cfdd8e9dc439f4c5d66 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 7 May 2019 10:53:05 +0200 Subject: [PATCH] * 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. Fix from master branch. --- eeschema/hierarch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/hierarch.cpp b/eeschema/hierarch.cpp index 02938993c1..75a689ab06 100644 --- a/eeschema/hierarch.cpp +++ b/eeschema/hierarch.cpp @@ -303,5 +303,5 @@ void SCH_EDIT_FRAME::DisplayCurrentSheet() UpdateTitle(); - GetCanvas()->Refresh(); + HardRedraw(); // Ensure any item has its view updated, especially the worksheet items }