diff --git a/eeschema/sch_edit_frame.cpp b/eeschema/sch_edit_frame.cpp index a2515b5433..c017780b70 100644 --- a/eeschema/sch_edit_frame.cpp +++ b/eeschema/sch_edit_frame.cpp @@ -1454,6 +1454,7 @@ void SCH_EDIT_FRAME::addCurrentItemToScreen() { std::vector< wxPoint > pts; item->GetConnectionPoints( pts ); + for( auto i = pts.begin(); i != pts.end(); i++ ) { for( auto j = i + 1; j != pts.end(); j++ ) @@ -1462,6 +1463,7 @@ void SCH_EDIT_FRAME::addCurrentItemToScreen() if( screen->IsJunctionNeeded( *i, true ) ) AddJunction( *i, true ); } + TestDanglingEnds(); } diff --git a/eeschema/sch_painter.cpp b/eeschema/sch_painter.cpp index e8d3084148..fcdfa5968d 100644 --- a/eeschema/sch_painter.cpp +++ b/eeschema/sch_painter.cpp @@ -1246,6 +1246,7 @@ void SCH_PAINTER::draw( SCH_SHEET *aSheet, int aLayer ) m_gal->SetIsStroke( true ); m_gal->SetIsFill( false ); + m_gal->SetLineWidth( aSheet->GetPenSize() ); m_gal->DrawRectangle( pos, pos + size );