dabo Commit
Revision 5934
Date: 2010-07-23 10:35:08 -0700 (Fri, 23 Jul 2010)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5934

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

Log:
On Windows, where the status text can go to the main frame, hidden forms were 
writing their current record text to the status bar on update. This fixes that 
awkwardness.

Diff:
Modified: trunk/dabo/ui/uiwx/dPemMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dPemMixin.py     2010-07-22 15:47:05 UTC (rev 5933)
+++ trunk/dabo/ui/uiwx/dPemMixin.py     2010-07-23 17:35:08 UTC (rev 5934)
@@ -1277,7 +1277,8 @@
                        # This can happen if an object is released when there 
is a 
                        # pending callAfter() refresh.
                        return
-               if isinstance(self, dabo.ui.dForm) and 
self.AutoUpdateStatusText:
+               if isinstance(self, dabo.ui.dForm) and 
self.AutoUpdateStatusText \
+                               and self.Visible:
                        self.setStatusText(self.getCurrentRecordText())
                if self.Children:
                        self.raiseEvent(dEvents.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