From b53b29399d2262f0fac913cd117eab24d7cd7b04 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 21 May 2019 19:31:59 -0700 Subject: [PATCH] eeschema: Ensure conn is updated after import After importing Eagle files, we need to make sure that the connectivity network is updated before the system requests a new netlist. Otherwise, we end up with different results from the first to second updates. --- eeschema/files-io.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/files-io.cpp b/eeschema/files-io.cpp index 4eac923d9d..582a4aa514 100644 --- a/eeschema/files-io.cpp +++ b/eeschema/files-io.cpp @@ -881,6 +881,7 @@ bool SCH_EDIT_FRAME::importFile( const wxString& aFileName, int aFileType ) GetScreen()->ClearUndoORRedoList( GetScreen()->m_UndoList, 1 ); // Only perform the dangling end test on root sheet. GetScreen()->TestDanglingEnds(); + RecalculateConnections(); GetScreen()->SetGrid( ID_POPUP_GRID_LEVEL_1000 + m_LastGridSizeId ); m_toolManager->RunAction( "common.Control.zoomFitScreen", true );