Author: reinhard
Date: 2005-07-29 09:25:40 -0500 (Fri, 29 Jul 2005)
New Revision: 7761
Modified:
trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Fixed commit bug.
Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py 2005-07-29 09:29:56 UTC (rev
7760)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py 2005-07-29 14:25:40 UTC (rev
7761)
@@ -534,7 +534,7 @@
self._resultSet.setRecord(self._precommitRecord)
- if self._getMasterBlock () is not None:
+ if self._getMasterBlock () is None:
self._dataSourceLink.postAll ()
#
@@ -543,7 +543,7 @@
def finalizeCommit (self):
# Synchronize backend -> resultset -> UI
- if not self._getMasterBlock () is not None:
+ if self._getMasterBlock () is None:
self._dataSourceLink.requeryAll ()
# Our recordCount might have changed if records were deleted
_______________________________________________
Commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue