commit-gnue
[Top][All Lists]
Advanced

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

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


From: reinhard
Subject: [gnue] r8706 - trunk/gnue-forms/src/GFObjects
Date: Mon, 2 Oct 2006 05:50:13 -0500 (CDT)

Author: reinhard
Date: 2006-10-02 05:50:13 -0500 (Mon, 02 Oct 2006)
New Revision: 8706

Modified:
   trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Use better method to update the UI focus position when scrollbar is moved.


Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py   2006-10-02 10:48:30 UTC (rev 
8705)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py   2006-10-02 10:50:13 UTC (rev 
8706)
@@ -396,7 +396,8 @@
     else:
       # If we didn't move the cursor, we have to update cursor position in UI
       if getattr(self._form._currentEntry, '_block', None) == self:
-        self._form.findAndChangeFocus (self._form._currentEntry)
+        self._form.dispatchEvent('gotoENTRY',
+                object=self._form._currentEntry, _form=self._form)
 
 
   # ---------------------------------------------------------------------------





reply via email to

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