dabo Commit
Revision 4505
Date: 2008-09-05 12:45:43 -0700 (Fri, 05 Sep 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/4505
Changed:
U trunk/dabo/ui/dDataControlMixinBase.py
Log:
This callAfter() fixes the problem I reported yesterday where SaveRestoreValue
wasn't working with subclasses of dDataPanel (ie dSpinner).
Diff:
Modified: trunk/dabo/ui/dDataControlMixinBase.py
===================================================================
--- trunk/dabo/ui/dDataControlMixinBase.py 2008-09-05 16:13:29 UTC (rev
4504)
+++ trunk/dabo/ui/dDataControlMixinBase.py 2008-09-05 19:45:43 UTC (rev
4505)
@@ -37,7 +37,7 @@
def __onCreate(self, evt):
if self.SaveRestoreValue:
- self.restoreValue()
+ dabo.ui.callAfter(self.restoreValue)
def __onDestroy(self, evt):
_______________________________________________
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]