dabo Commit
Revision 4597
Date: 2008-10-24 13:00:09 -0700 (Fri, 24 Oct 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/4597
Changed:
U trunk/dabo/ui/uiwx/dGrid.py
Log:
John's point was valid: we already have the bizobj reference, may as well pass
it to the form.
Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2008-10-24 19:52:02 UTC (rev 4596)
+++ trunk/dabo/ui/uiwx/dGrid.py 2008-10-24 20:00:09 UTC (rev 4597)
@@ -3350,7 +3350,7 @@
if bizobj.RowCount > newRow and
bizobj.RowNumber != newRow:
if self._mediateRowNumberThroughForm
and isinstance(self.Form, dabo.ui.dForm):
# run it through the form:
- if not
self.Form.moveToRowNumber(newRow, bizobj.DataSource):
+ if not
self.Form.moveToRowNumber(newRow, bizobj):
dabo.ui.callAfter(self.refresh)
else:
# run it through the bizobj
directly:
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]