Eeschema: fix bug that crashes libedit (after creating a new pin, repeat it (insert key), delete the new repeated pin and try to repeat)
This commit is contained in:
parent
a32b974fcb
commit
87e220e1fc
|
@ -6,7 +6,7 @@
|
|||
#endif
|
||||
|
||||
#ifndef KICAD_BUILD_VERSION
|
||||
#define KICAD_BUILD_VERSION "(2011-07-05)"
|
||||
#define KICAD_BUILD_VERSION "(2011-07-07)"
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -714,6 +714,7 @@ void LIB_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event )
|
|||
( (LIB_POLYLINE*) m_drawItem )->DeleteSegment( GetScreen()->GetCrossHairPosition( true ) );
|
||||
m_drawItem->Draw( DrawPanel, &dc, wxPoint( 0, 0 ), -1, g_XorMode, NULL, DefaultTransform );
|
||||
m_drawItem->SetFlags( oldFlags );
|
||||
m_lastDrawItem = NULL;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1212,6 +1213,7 @@ void LIB_EDIT_FRAME::deleteItem( wxDC* aDC )
|
|||
}
|
||||
|
||||
m_drawItem = NULL;
|
||||
m_lastDrawItem = NULL;
|
||||
OnModify();
|
||||
DrawPanel->CrossHairOn( aDC );
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
; General Product Description Definitions
|
||||
!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 SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/"
|
||||
!define COMPANY_NAME ""
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
release version:
|
||||
2011 jul 05
|
||||
2011 jul 07
|
||||
files (.zip,.tgz):
|
||||
kicad-2011-07-05
|
||||
kicad-2011-07-07
|
||||
|
|
Loading…
Reference in New Issue