mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-20 15:25:01 +00:00
Fix for issue #511 - disabling a menu item in the menu item's action
This commit is contained in:
1 parent
64357fde0d
commit
47bc7e812d
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