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 10:49:42 -08:00
1 parent 9537a62ab1
commit ad5f574fb7
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)
{