Commit 87e220e1 authored by jean-pierre charras's avatar jean-pierre charras

Eeschema: fix bug that crashes libedit (after creating a new pin, repeat it...

Eeschema: fix bug that crashes libedit (after creating a new pin, repeat it (insert key), delete the new repeated pin and try to repeat)
parent a32b974f
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#endif #endif
#ifndef KICAD_BUILD_VERSION #ifndef KICAD_BUILD_VERSION
#define KICAD_BUILD_VERSION "(2011-07-05)" #define KICAD_BUILD_VERSION "(2011-07-07)"
#endif #endif
......
...@@ -714,6 +714,7 @@ void LIB_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event ) ...@@ -714,6 +714,7 @@ void LIB_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event )
( (LIB_POLYLINE*) m_drawItem )->DeleteSegment( GetScreen()->GetCrossHairPosition( true ) ); ( (LIB_POLYLINE*) m_drawItem )->DeleteSegment( GetScreen()->GetCrossHairPosition( true ) );
m_drawItem->Draw( DrawPanel, &dc, wxPoint( 0, 0 ), -1, g_XorMode, NULL, DefaultTransform ); m_drawItem->Draw( DrawPanel, &dc, wxPoint( 0, 0 ), -1, g_XorMode, NULL, DefaultTransform );
m_drawItem->SetFlags( oldFlags ); m_drawItem->SetFlags( oldFlags );
m_lastDrawItem = NULL;
break; break;
} }
...@@ -1212,6 +1213,7 @@ void LIB_EDIT_FRAME::deleteItem( wxDC* aDC ) ...@@ -1212,6 +1213,7 @@ void LIB_EDIT_FRAME::deleteItem( wxDC* aDC )
} }
m_drawItem = NULL; m_drawItem = NULL;
m_lastDrawItem = NULL;
OnModify(); OnModify();
DrawPanel->CrossHairOn( aDC ); DrawPanel->CrossHairOn( aDC );
} }
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
; General Product Description Definitions ; General Product Description Definitions
!define PRODUCT_NAME "KiCad" !define PRODUCT_NAME "KiCad"
!define PRODUCT_VERSION "2011.07.05" !define PRODUCT_VERSION "2011.07.07"
!define PRODUCT_WEB_SITE "http://iut-tice.ujf-grenoble.fr/kicad/" !define PRODUCT_WEB_SITE "http://iut-tice.ujf-grenoble.fr/kicad/"
!define SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/" !define SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/"
!define COMPANY_NAME "" !define COMPANY_NAME ""
......
release version: release version:
2011 jul 05 2011 jul 07
files (.zip,.tgz): files (.zip,.tgz):
kicad-2011-07-05 kicad-2011-07-07
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment