Changeset 4271
- Timestamp:
- 07/10/2008 07:50:31 PM (1 month ago)
- Files:
-
- trunk/dabo/ui/uiwx/dMenuItem.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/dabo/ui/uiwx/dMenuItem.py
r4266 r4271 87 87 def _setCaption(self, val): 88 88 if self._constructed(): 89 if len(val.split("\t")) == 1: 89 if val.count("\t"): 90 # They're using the technique of caption + tab + hotkey 91 raise ValueError, _("Please put HotKey combination in HotKey property.") 92 else: 90 93 self._caption = val 91 else:92 raise ValueError, "Please put HotKey combination in HotKey property."93 94 self._redefine() 94 95 else:
