solved bug 2072876.

This commit is contained in:
charras 2008-08-25 12:41:44 +00:00
parent 485c92d4fe
commit 8816d4dab1
3 changed files with 3 additions and 2 deletions

View File

@ -306,6 +306,7 @@ OBJECTS = \
Lang_Catalan.o\
Lang_chinese.o\
Lang_Default.o\
Lang_Cs.o\
Lang_De.o\
Lang_En.o\
Lang_Es.o\

View File

@ -53,7 +53,7 @@ struct LANGUAGE_DESCR
bool m_DoNotTranslate; // set to true if the m_Lang_Label must not be translated
};
#define LANGUAGE_DESCR_COUNT 15
#define LANGUAGE_DESCR_COUNT 16
static struct LANGUAGE_DESCR s_Language_List[LANGUAGE_DESCR_COUNT] =
{
{

View File

@ -91,7 +91,7 @@ void WinEDA_LibeditFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos )
break;
case ID_LIBEDIT_PIN_BUTT:
if( CurrentDrawItem == NULL )
if( CurrentDrawItem == NULL || CurrentDrawItem->m_Flags == 0 )
{
CreatePin( DC );
}