mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-07 17:38:02 +00:00
Fix for issue #511 - disabling a menu item in the menu item's action
This commit is contained in:
1 parent
9537a62ab1
commit
ad5f574fb7
1 file changed
+1
-1
@@ -155,7 +155,7 @@ var SelectionColor = nil,
|
||||
{
|
||||
// FIXME: This should probably be even throw.
|
||||
if (![_menuItem isEnabled])
|
||||
return;
|
||||
shouldHighlight = NO;
|
||||
|
||||
if (shouldHighlight)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user