--- eeschema/sch_screen.cpp | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/eeschema/sch_screen.cpp b/eeschema/sch_screen.cpp index 52e86f1..a2655a7 100644 --- a/eeschema/sch_screen.cpp +++ b/eeschema/sch_screen.cpp @@ -454,6 +454,9 @@ bool SCH_SCREEN::SchematicCleanUp() const bool rhs_isLine = ( rhs_type == SCH_LINE_T ); const bool rhs_isJunction = (rhs_type == SCH_JUNCTION_T ); + if( !( rhs_isLine || rhs_isJunction ) ) + continue; + if( lhs_isLine && rhs_isLine ) { SCH_LINE* line = (SCH_LINE*) item;
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp