From 8816d4dab18ac3438ab9a03524cda84b4e9b9e03 Mon Sep 17 00:00:00 2001 From: charras <Unknown> Date: Mon, 25 Aug 2008 12:41:44 +0000 Subject: [PATCH] solved bug 2072876. --- bitmaps/makefile.include | 1 + common/edaappl.cpp | 2 +- eeschema/libedit_onleftclick.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bitmaps/makefile.include b/bitmaps/makefile.include index 929554d495..b64b60f0b3 100644 --- a/bitmaps/makefile.include +++ b/bitmaps/makefile.include @@ -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\ diff --git a/common/edaappl.cpp b/common/edaappl.cpp index 8fb30f913d..06f450b4aa 100644 --- a/common/edaappl.cpp +++ b/common/edaappl.cpp @@ -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] = { { diff --git a/eeschema/libedit_onleftclick.cpp b/eeschema/libedit_onleftclick.cpp index 4898a4a326..b0a4fadeaf 100644 --- a/eeschema/libedit_onleftclick.cpp +++ b/eeschema/libedit_onleftclick.cpp @@ -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 ); }