From 4205e7077595c19ae4e23ca0e58ba983a28ce071 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Wed, 20 Aug 2025 10:34:07 -0700 Subject: [PATCH] Update cache when modifying schematic Fixes https://gitlab.com/kicad/code/kicad/-/issues/18297 (cherry picked from commit 2347b290cbc91258cefbfc37061579e39d98b9c4) --- eeschema/schematic.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/schematic.cpp b/eeschema/schematic.cpp index fcd5e3405f..36218f7794 100644 --- a/eeschema/schematic.cpp +++ b/eeschema/schematic.cpp @@ -1289,6 +1289,7 @@ void SCHEMATIC::RecalculateConnections( SCH_COMMIT* aCommit, SCH_CLEANUP_FLAGS a PICKED_ITEMS_LIST* aLastChangeList ) { SCHEMATIC_SETTINGS& settings = Settings(); + RefreshHierarchy(); SCH_SHEET_LIST list = Hierarchy(); SCH_COMMIT localCommit( aToolManager );