Fix for issue #511 - disabling a menu item in the menu item's action

This commit is contained in:
saikat authored and Ross Boucher committed 2010-03-05 11:05:56 -08:00
1 parent 64357fde0d
commit 47bc7e812d
1 file changed
+1 -1
+1 -1
View File
@@ -155,7 +155,7 @@ var SelectionColor = nil,
{
// FIXME: This should probably be even throw.
if (![_menuItem isEnabled])
return;
shouldHighlight = NO;
if (shouldHighlight)
{