- Revision
- 11194
- Author
- stearns
- Date
- 2006-07-18 14:12:42 -0700 (Tue, 18 Jul 2006)
Log Message
Re-fix bug 6124 (layout errors in Detail View), r=robin: this is a different case caused by the workaround for bug 5669: it fixed a different layout problem by hiding/showing the control "a little while" after creating it. In this case, however, the control was hidden in the meantime, so blindly showing it was bad.
Modified Paths
Diff
Modified: branches/0.7alpha3/chandler/parcels/osaf/framework/attributeEditors/AttributeEditors.py (11193 => 11194)
--- branches/0.7alpha3/chandler/parcels/osaf/framework/attributeEditors/AttributeEditors.py 2006-07-18 21:12:27 UTC (rev 11193) +++ branches/0.7alpha3/chandler/parcels/osaf/framework/attributeEditors/AttributeEditors.py 2006-07-18 21:12:42 UTC (rev 11194) @@ -1175,7 +1175,7 @@ # hack to work around bug 5669 until the underlying wx bug is fixed. if '__WXMAC__' in wx.PlatformInfo: def showhide(ctrl): - if ctrl: + if ctrl and ctrl.IsShown(): ctrl.Hide() ctrl.Show() wx.CallAfter(showhide, control)
_______________________________________________ Commits mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/commits
