commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/gnuef/src GFForm.py


From: James Thompson
Subject: gnue/gnuef/src GFForm.py
Date: Mon, 29 Oct 2001 10:05:20 -0500

CVSROOT:        /cvs
Module name:    gnue
Changes by:     James Thompson <address@hidden> 01/10/29 10:05:20

Modified files:
        gnuef/src      : GFForm.py 

Log message:
        Small change to allow enter key in a field to act like a tab key

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnuef/src/GFForm.py.diff?cvsroot=OldCVS&tr1=1.125&tr2=1.126&r1=text&r2=text

Patches:
Index: gnue/gnuef/src/GFForm.py
diff -u gnue/gnuef/src/GFForm.py:1.125 gnue/gnuef/src/GFForm.py:1.126
--- gnue/gnuef/src/GFForm.py:1.125      Fri Oct 12 20:06:18 2001
+++ gnue/gnuef/src/GFForm.py    Mon Oct 29 10:05:19 2001
@@ -455,7 +455,10 @@
         currentvalue = self._currentEntry.getValue()
         if ord(value) == 13:
           if self._currentEntry.height > 1: value = '\n';
-          else: return modified
+          else: 
+           self._app.nextEntry(None)
+           #self._app.dispatchEvent(GFEvent('requestNEXTENTRY'))
+           return modified
 
         if hasattr(self._currentEntry,'foreign_key_description') and 
hasattr(self._currentEntry,'style') and (self._currentEntry.style=='dropdown'):
           value= self._currentEntry.findClosestValue(value)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]