From 9466f194278f77a440b036535f709896dbc09495 Mon Sep 17 00:00:00 2001 From: Chris Pavlina Date: Wed, 24 Jun 2015 11:39:44 -0400 Subject: [PATCH] Eeschema: show connection indicator when placing no connect objects. --- eeschema/bus-wire-junction.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/eeschema/bus-wire-junction.cpp b/eeschema/bus-wire-junction.cpp index d0c6994e71..7eb6b35c6d 100644 --- a/eeschema/bus-wire-junction.cpp +++ b/eeschema/bus-wire-junction.cpp @@ -430,14 +430,10 @@ SCH_NO_CONNECT* SCH_EDIT_FRAME::AddNoConnect( wxDC* aDC, const wxPoint& aPositio SCH_NO_CONNECT* no_connect = new SCH_NO_CONNECT( aPosition ); SetRepeatItem( no_connect ); - - m_canvas->CrossHairOff( aDC ); // Erase schematic cursor - no_connect->Draw( m_canvas, aDC, wxPoint( 0, 0 ), GR_DEFAULT_DRAWMODE ); - - m_canvas->CrossHairOn( aDC ); // Display schematic cursor - GetScreen()->Append( no_connect ); + GetScreen()->SchematicCleanUp( m_canvas, aDC ); OnModify(); + m_canvas->Refresh(); SaveCopyInUndoList( no_connect, UR_NEW ); return no_connect; }