Author: reinhard
Date: 2006-09-13 16:46:54 -0500 (Wed, 13 Sep 2006)
New Revision: 8683
Modified:
trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Added comment reminding me of a problem I just found out.
Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py 2006-09-13 21:42:07 UTC (rev
8682)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py 2006-09-13 21:46:54 UTC (rev
8683)
@@ -284,6 +284,11 @@
self._resultSet = event.resultSet
self._recordCount = self._resultSet.getRecordCount ()
+
+ # FIXME: during commit, master datasources navigate the current record
+ # through the dirty record list and cause the detail blocks to follow
+ # through this event. However, in that case, we wouldn't want the UI to
+ # follow, so we wouldn't want to run the following lines in that case.
recno = self._resultSet.getRecordNumber ()
if recno == -1:
if not self._resultSet.firstRecord ():
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue