dabo Commit
Revision 6797
Date: 2011-08-22 09:28:09 -0700 (Mon, 22 Aug 2011)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6797
Changed:
U trunk/dabo/biz/dBizobj.py
Log:
Minor update in cursors dictionary handling.
Diff:
Modified: trunk/dabo/biz/dBizobj.py
===================================================================
--- trunk/dabo/biz/dBizobj.py 2011-08-22 11:09:52 UTC (rev 6796)
+++ trunk/dabo/biz/dBizobj.py 2011-08-22 16:28:09 UTC (rev 6797)
@@ -2361,10 +2361,8 @@
"""
oldKey = self.__currentCursorKey
if newKey <> oldKey:
- cursor = self._CurrentCursor
+ self.__cursors[newKey] = self.__cursors.pop(oldKey)
self.__currentCursorKey = newKey
- del self.__cursors[oldKey]
- self.__cursors[newKey] = cursor
## Property getter/setter methods ##
_______________________________________________
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]