dabo Commit
Revision 4984
Date: 2009-01-28 11:46:17 -0800 (Wed, 28 Jan 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/4984
Changed:
U trunk/dabo/ui/uiwx/dFormMixin.py
Log:
Need to check for AttributeError, too.
Diff:
Modified: trunk/dabo/ui/uiwx/dFormMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dFormMixin.py 2009-01-27 14:41:32 UTC (rev 4983)
+++ trunk/dabo/ui/uiwx/dFormMixin.py 2009-01-28 19:46:17 UTC (rev 4984)
@@ -190,7 +190,7 @@
if self.ShowToolBar and self.ToolBar is None:
try:
self.ToolBar = dabo.ui.dToolBar(self)
- except TypeError:
+ except (AttributeError, TypeError):
# We are a dialog, an MDI Child, or some other
toolbar-unworthy form
pass
_______________________________________________
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]