From 82de444bdc1e2e344a1ccff7a5f73eb5d567a86d Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 11 Oct 2002 03:07:36 +0000 Subject: Made the auto-completion check if subparts are listed. git-svn-id: http://svn.leocad.org/trunk@308 c7d43263-9d01-0410-8a33-9dba5d9f93d6 --- win/Piececmb.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win/Piececmb.cpp') diff --git a/win/Piececmb.cpp b/win/Piececmb.cpp index afc07ca..3e02b7e 100644 --- a/win/Piececmb.cpp +++ b/win/Piececmb.cpp @@ -58,6 +58,9 @@ void CPiecesCombo::OnEditupdate() { pInfo = pLib->GetPieceInfo(i); + if ((pInfo->m_strDescription[0] == '~') && !pBar->m_bSubParts) + continue; + if (_strnicmp (str, pInfo->m_strDescription, n) == 0) { if (_stricmp (newstr, pInfo->m_strDescription) > 0) -- cgit v1.2.3