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.
This commit is contained in:
parent
6f7475dcd3
commit
b53b29399d
|
@ -881,6 +881,7 @@ bool SCH_EDIT_FRAME::importFile( const wxString& aFileName, int aFileType )
|
||||||
GetScreen()->ClearUndoORRedoList( GetScreen()->m_UndoList, 1 );
|
GetScreen()->ClearUndoORRedoList( GetScreen()->m_UndoList, 1 );
|
||||||
// Only perform the dangling end test on root sheet.
|
// Only perform the dangling end test on root sheet.
|
||||||
GetScreen()->TestDanglingEnds();
|
GetScreen()->TestDanglingEnds();
|
||||||
|
RecalculateConnections();
|
||||||
|
|
||||||
GetScreen()->SetGrid( ID_POPUP_GRID_LEVEL_1000 + m_LastGridSizeId );
|
GetScreen()->SetGrid( ID_POPUP_GRID_LEVEL_1000 + m_LastGridSizeId );
|
||||||
m_toolManager->RunAction( "common.Control.zoomFitScreen", true );
|
m_toolManager->RunAction( "common.Control.zoomFitScreen", true );
|
||||||
|
|
Loading…
Reference in New Issue