Commit 8816d4da authored by charras's avatar charras

solved bug 2072876.

parent 485c92d4
...@@ -306,6 +306,7 @@ OBJECTS = \ ...@@ -306,6 +306,7 @@ OBJECTS = \
Lang_Catalan.o\ Lang_Catalan.o\
Lang_chinese.o\ Lang_chinese.o\
Lang_Default.o\ Lang_Default.o\
Lang_Cs.o\
Lang_De.o\ Lang_De.o\
Lang_En.o\ Lang_En.o\
Lang_Es.o\ Lang_Es.o\
......
...@@ -53,7 +53,7 @@ struct LANGUAGE_DESCR ...@@ -53,7 +53,7 @@ struct LANGUAGE_DESCR
bool m_DoNotTranslate; // set to true if the m_Lang_Label must not be translated 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] = static struct LANGUAGE_DESCR s_Language_List[LANGUAGE_DESCR_COUNT] =
{ {
{ {
......
...@@ -91,7 +91,7 @@ void WinEDA_LibeditFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos ) ...@@ -91,7 +91,7 @@ void WinEDA_LibeditFrame::OnLeftClick( wxDC* DC, const wxPoint& MousePos )
break; break;
case ID_LIBEDIT_PIN_BUTT: case ID_LIBEDIT_PIN_BUTT:
if( CurrentDrawItem == NULL ) if( CurrentDrawItem == NULL || CurrentDrawItem->m_Flags == 0 )
{ {
CreatePin( DC ); CreatePin( DC );
} }
......
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