dabo Commit
Revision 6338
Date: 2011-01-22 09:43:33 -0800 (Sat, 22 Jan 2011)
Author: Ed
Trac: http://trac.dabodev.com/changeset/6338
Changed:
U trunk/ide/ClassDesigner.py
Log:
Fixed issue with Class Designer choking on the 'classID' attribute
Diff:
Modified: trunk/ide/ClassDesigner.py
===================================================================
--- trunk/ide/ClassDesigner.py 2011-01-22 17:28:24 UTC (rev 6337)
+++ trunk/ide/ClassDesigner.py 2011-01-22 17:43:33 UTC (rev 6338)
@@ -586,7 +586,7 @@
def addMRUPath(self, pth):
- """Convenience method for other classes that hides the details
of
+ """Convenience method for other classes that hides the details
of
MRUs from them. All we need is the path.
"""
self.Application.addToMRU(_("Open Recent"),
os.path.realpath(pth), self.onMRUSelection)
@@ -597,7 +597,7 @@
actual path, and open that design.
"""
# The prompt will have a number prepended to the actual path,
- # separated by a space.
+ # separated by a space.
pth = evt.prompt.split(" ", 1)[-1]
openDesigns = [frm for frm in self.getDesignerWindows()
if frm._classFile == pth]
@@ -1033,7 +1033,7 @@
kidatts = kid["attributes"]
col = colClass(obj)
for kprop, kval in kidatts.items():
- if kprop in ("designerClass", ):
+ if kprop in ("designerClass", "classID"):
continue
typ = type(getattr(col, kprop))
if typ is noneTyp:
_______________________________________________
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]