dabo Commit
Revision 6381
Date: 2011-02-03 10:26:51 -0800 (Thu, 03 Feb 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6381
Changed:
U trunk/dabo/ui/uiwx/dMenuBar.py
Log:
Fixed per ticket #1221.
Diff:
Modified: trunk/dabo/ui/uiwx/dMenuBar.py
===================================================================
--- trunk/dabo/ui/uiwx/dMenuBar.py 2011-02-03 18:20:10 UTC (rev 6380)
+++ trunk/dabo/ui/uiwx/dMenuBar.py 2011-02-03 18:26:51 UTC (rev 6381)
@@ -162,7 +162,7 @@
# The menu index was found by caption: return the menu:
try:
return self.GetMenu(idx)
- except dabo.ui.assertionException:
+ except (dabo.ui.assertionException, ValueError):
return None
_______________________________________________
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]