dabo Commit
Revision 5464
Date: 2009-10-15 10:39:19 -0700 (Thu, 15 Oct 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5464

Changed:
U   trunk/dabo/ui/uiwx/dFormMixin.py

Log:
Fix for the traceback in ClassDesigner, since r5454 added the callAfter() for 
the 
status bar creation.


Diff:
Modified: trunk/dabo/ui/uiwx/dFormMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dFormMixin.py    2009-10-15 00:34:30 UTC (rev 5463)
+++ trunk/dabo/ui/uiwx/dFormMixin.py    2009-10-15 17:39:19 UTC (rev 5464)
@@ -184,7 +184,7 @@
 
 
        def _createStatusBar(self):
-               if (self.ShowStatusBar 
+               if (self and self.ShowStatusBar 
                                and self.StatusBar is None
                                and not isinstance (self, wx.Dialog)
                                and (sys.platform.startswith("darwin") or not 
isinstance(self, wx.MDIChildFrame))):




_______________________________________________
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]

Reply via email to