commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r9030 - trunk/gnue-forms/src


From: johannes
Subject: [gnue] r9030 - trunk/gnue-forms/src
Date: Mon, 13 Nov 2006 07:18:00 -0600 (CST)

Author: johannes
Date: 2006-11-13 07:17:59 -0600 (Mon, 13 Nov 2006)
New Revision: 9030

Modified:
   trunk/gnue-forms/src/GFForm.py
Log:
Only move the record when autoNextRecord is set


Modified: trunk/gnue-forms/src/GFForm.py
===================================================================
--- trunk/gnue-forms/src/GFForm.py      2006-11-13 12:28:56 UTC (rev 9029)
+++ trunk/gnue-forms/src/GFForm.py      2006-11-13 13:17:59 UTC (rev 9030)
@@ -846,7 +846,8 @@
 
           # If we should navigate to the next record, do it...
           if currentBlock is not None \
-                  and reverse and not currentBlock.is_first_record():
+                  and reverse and currentBlock.autoNextRecord \
+                  and not currentBlock.is_first_record():
             self.change_focus(nextEntry, -1)
           elif currentBlock is not None and not reverse and \
              currentBlock.autoNextRecord and \
@@ -1127,6 +1128,7 @@
                 # Special case: next_record() can also trigger a new_record()
                 new_block.next_record()
             elif row_offset != 0:
+                print "ROW-OFFSET:", row_offset
                 new_block.jump_records(row_offset)
 
             self._currentEntry = widget





reply via email to

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