On 1/3/13 4:33 PM, Paul McNett wrote:
> I remember finding this and thought I'd fixed it, but perhaps I stalled on 
> how to
> implement the fix. Anyway, if I understand correctly, this is the opposite of 
> the
> stated problem. His button is Visible but isn't being shown.

Here's what I was remembering:

mac-2:dabo pmcnett$ svn diff -r 7084:7085
Index: ui/uiwx/dPemMixin.py
===================================================================
--- ui/uiwx/dPemMixin.py        (revision 7084)
+++ ui/uiwx/dPemMixin.py        (revision 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()


mac-2:dabo pmcnett$ svn log -r 7085
------------------------------------------------------------------------
r7085 | paul | 2012-02-08 15:35:39 -0800 (Wed, 08 Feb 2012) | 3 lines

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

------------------------------------------------------------------------

Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to