gpui_macos: Fix compilation on x86_64 (#52028)
Release Notes: - N/A or Added/Fixed/Improved ...
This commit is contained in:
1 parent
8f6e93974b
commit
b04e7f0930
1 file changed
+1
-1
@@ -395,7 +395,7 @@ impl MacPlatform {
|
||||
if *checked {
|
||||
item.setState_(NSVisualEffectState::Active);
|
||||
}
|
||||
item.setEnabled_(!disabled);
|
||||
item.setEnabled_(if *disabled { NO } else { YES });
|
||||
|
||||
let tag = actions.len() as NSInteger;
|
||||
let _: () = msg_send![item, setTag: tag];
|
||||
|
||||
Reference in new issue
Block a user