diff --git a/src/platform_impl/macos/menu_item.rs b/src/platform_impl/macos/menu_item.rs index 351a7dc..942bc92 100644 --- a/src/platform_impl/macos/menu_item.rs +++ b/src/platform_impl/macos/menu_item.rs @@ -93,7 +93,7 @@ impl TextMenuItem { pub fn enabled(&self) -> bool { unsafe { let enabled: BOOL = msg_send![self.ns_menu_item, isEnabled]; - enabled + enabled == YES } }