[gnue] r9493 - trunk/gnue-forms/src/GFObjects

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: reinhard
Date: 2007-04-11 09:15:07 -0500 (Wed, 11 Apr 2007)
New Revision: 9493

Modified:
   trunk/gnue-forms/src/GFObjects/GFField.py
Log:
Made autocompletion case insensitive.


Modified: trunk/gnue-forms/src/GFObjects/GFField.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFField.py	2007-04-11 14:14:41 UTC (rev 9492)
+++ trunk/gnue-forms/src/GFObjects/GFField.py	2007-04-11 14:15:07 UTC (rev 9493)
@@ -272,7 +272,7 @@
             return (value, cursor)
 
         for allowed in self.__lookup_list:
-            if allowed.startswith(value):
+            if allowed.upper().startswith(value.upper()):
                 return (allowed, cursor)
 
         # Nothing found, return original user input.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.