← Back to team overview

kicad-developers team mailing list archive

[PATCH] Update dangling ends after modifying component in library

 

Bug: After using the Ctrl-E hotkey to edit a library part from eeschema, 
dangling ends in the schematic should be updated and refreshed.

Patch attached.

--
Chris
commit 2879f4e41a03136dd0ae5a869096446684db4a42
Author: Chris Pavlina <cpavlin1@xxxxxxxxxxxxxx>
Date:   Fri Jul 10 11:02:13 2015 -0400

    Update dangling ends after modifying component in library

diff --git a/eeschema/schframe.cpp b/eeschema/schframe.cpp
index 312a818..38a8703 100644
--- a/eeschema/schframe.cpp
+++ b/eeschema/schframe.cpp
@@ -1126,6 +1126,9 @@ void SCH_EDIT_FRAME::OnOpenLibraryEditor( wxCommandEvent& event )
             libeditFrame->LoadComponentAndSelectLib( entry, library );
         }
     }
+
+    GetScreen()->SchematicCleanUp( m_canvas, NULL );
+    m_canvas->Refresh();
 }
 
 

Follow ups