Restore Jon's change which I accidentally nuked.

This commit is contained in:
Jeff Young 2019-05-02 09:10:10 +01:00
parent f187f91f57
commit f95f202f81
1 changed files with 1 additions and 0 deletions

View File

@ -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->SetToolID( ID_WIRE_BUTT, wxCURSOR_PENCIL, _( "Add wire" ) );
m_frame->SetCrossHairPosition( m_busUnfold.entry->m_End() ); m_frame->SetCrossHairPosition( m_busUnfold.entry->m_End() );
SCH_LINE* segment = startSegments( LAYER_WIRE, m_busUnfold.entry->m_End() ); SCH_LINE* segment = startSegments( LAYER_WIRE, m_busUnfold.entry->m_End() );
return doDrawSegments( LAYER_WIRE, segment ); return doDrawSegments( LAYER_WIRE, segment );
} }