dabo Commit
Revision 7305
Date: 2013-01-02 19:00:27 -0800 (Wed, 02 Jan 2013)
Author: Paul
Trac: http://trac.dabodev.com/changeset/7305

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

Log:
Attempt to make DynamicVisible work correctly after the failed attempt
without the callAfterInterval(). This is better anyway since it won't 
result in multiple layout() calls if Visible is set repeatedly.


Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py     2013-01-02 05:47:00 UTC (rev 7304)
+++ trunk/dabo/ui/uiwx/dPemMixin.py     2013-01-03 03:00:27 UTC (rev 7305)
@@ -2756,7 +2756,7 @@
                        except AttributeError:
                                dabo.log.error(_("The object %s does not 
support the Visible property.") % self)
                        if self.Parent:
-                               self.Parent.layout()
+                               dabo.ui.callAfterInterval(100, 
self.Parent.layout)
                else:
                        self._properties["Visible"] = val
 



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.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