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:



_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to