dabo Commit
Revision 1172
Date: 2005-08-15 16:29:43 -0700 (Mon, 15 Aug 2005)
Author: paul
Changed:
U trunk/dabo/ui/uiwx/dForm.py
Log:
Fixed the requery problem I just reported. Geez, typing out the problem
made me want to invest time to fix it, and as I surmised it was very
easy to track down.
Diff:
Modified: trunk/dabo/ui/uiwx/dForm.py
===================================================================
--- trunk/dabo/ui/uiwx/dForm.py 2005-08-15 18:47:00 UTC (rev 1171)
+++ trunk/dabo/ui/uiwx/dForm.py 2005-08-15 23:29:43 UTC (rev 1172)
@@ -269,7 +269,7 @@
err = self.beforeSave()
if err:
self.notifyUser(err)
- return
+ return False
try:
if self.SaveAllRows:
bizobj.saveAll()
@@ -290,7 +290,7 @@
self.notifyUser(msg, severe=True)
return False
self.afterSave()
-
+ return True
def cancel(self, dataSource=None):
""" Ask the bizobj to cancel its changes.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev