dabo Commit
Revision 7085
Date: 2012-02-08 15:35:39 -0800 (Wed, 08 Feb 2012)
Author: Paul
Trac: http://trac.dabodev.com/changeset/7085

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

Log:
dPageFrame.UpdateInactivePages = False wasn't working on Linux, due to the 
combined
check with Visible. Fixed.


Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py     2012-02-08 15:59:33 UTC (rev 7084)
+++ trunk/dabo/ui/uiwx/dPemMixin.py     2012-02-08 23:35:39 UTC (rev 7085)
@@ -1343,11 +1343,12 @@
                try:
                        updateInactive = self.Parent.UpdateInactivePages
                except AttributeError:
-                       updateInactive = False
-               if not self.Visible and not updateInactive:
-                       ## (on Windows and Mac, inactive pages will return 
Visible==False, but
-                       ##  we need those pages updated too).
+                       updateInactive = None
+               if updateInactive == False and self.Parent.SelectedPage != self:
                        return
+               if not updateInactive and not self.Visible:
+                       # (some platforms have inactive pages not visible)
+                       return
                self.update()
 
 



_______________________________________________
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