From f95f202f81cd18a9848364dbc163aaa5b8a47093 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 2 May 2019 09:10:10 +0100 Subject: [PATCH] Restore Jon's change which I accidentally nuked. --- eeschema/tools/sch_drawing_tool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/tools/sch_drawing_tool.cpp b/eeschema/tools/sch_drawing_tool.cpp index d5ca0bb953..f7c96b098c 100644 --- a/eeschema/tools/sch_drawing_tool.cpp +++ b/eeschema/tools/sch_drawing_tool.cpp @@ -969,6 +969,7 @@ int SCH_DRAWING_TOOL::UnfoldBus( const TOOL_EVENT& aEvent ) m_frame->SetToolID( ID_WIRE_BUTT, wxCURSOR_PENCIL, _( "Add wire" ) ); m_frame->SetCrossHairPosition( m_busUnfold.entry->m_End() ); + SCH_LINE* segment = startSegments( LAYER_WIRE, m_busUnfold.entry->m_End() ); return doDrawSegments( LAYER_WIRE, segment ); }