commit-gnue
[Top][All Lists]
Advanced

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

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


From: reinhard
Subject: [gnue] r8764 - trunk/gnue-forms/src/GFObjects
Date: Thu, 12 Oct 2006 04:56:21 -0500 (CDT)

Author: reinhard
Date: 2006-10-12 04:56:20 -0500 (Thu, 12 Oct 2006)
New Revision: 8764

Modified:
   trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Minor simplification.


Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py   2006-10-12 08:25:07 UTC (rev 
8763)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py   2006-10-12 09:56:20 UTC (rev 
8764)
@@ -367,8 +367,7 @@
         self._rows = new_rows
 
         if self.__visibleStart + self._rows < self._currentRecord + 1:
-            new_visible_start = self._currentRecord - self._rows + 1
-            self.__switch_record (self.__visibleStart - new_visible_start)
+            self.__switch_record (0)
             # Now we must jump to the new current widget in the UI
             entry = self._form._currentEntry
             if getattr(entry, '_block', None) == self:





reply via email to

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