- Revision
- 16080
- Author
- robind
- Date
- 2007-12-07 11:51:44 -0800 (Fri, 07 Dec 2007)
Log Message
Another place to call SelectAll, to help clear up the orange tinderboxes
Modified Paths
Diff
Modified: trunk/chandler/parcels/osaf/framework/attributeEditors/AETypeOverTextCtrl.py (16079 => 16080)
--- trunk/chandler/parcels/osaf/framework/attributeEditors/AETypeOverTextCtrl.py 2007-12-07 18:28:35 UTC (rev 16079) +++ trunk/chandler/parcels/osaf/framework/attributeEditors/AETypeOverTextCtrl.py 2007-12-07 19:51:44 UTC (rev 16080) @@ -152,7 +152,10 @@ def OnEditGainFocus(self, event): self._swapControls(self.editControl) event.Skip() - + if "wxMac" in wx.PlatformInfo: + if self._showingSample(): + wx.CallAfter(self.editControl.SelectAll) + def OnEditLoseFocus(self, event): NotifyBlockToSaveValue(self) # don't access the widget if it's not safe (quitting)
_______________________________________________ Commits mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/commits
