summaryrefslogtreecommitdiff
path: root/src/macos.m
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-10-11 14:51:53 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-10-11 14:51:53 +0300
commiteb357db5822822c36c395080dac22230efdc54fd (patch)
tree32b7409c735c78faa1189071027af59e5dc85ced /src/macos.m
parentb60f49bae6756468de7d01c47469efb26f5a9910 (diff)
parentdece9b7406eb2c6eff768ff8a1badb7ef7076082 (diff)
Merge branch 'dev' into work/v1.8
# Conflicts: # CMakeLists.txt # res/lang/es.bin # res/lang/fr.bin # res/lang/gl.bin # res/lang/ie.bin # res/lang/ru.bin # res/lang/sk.bin # res/lang/sr.bin # res/lang/tok.bin # src/ui/documentwidget.c
Diffstat (limited to 'src/macos.m')
-rw-r--r--src/macos.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/macos.m b/src/macos.m
index d737e9e8..784a8612 100644
--- a/src/macos.m
+++ b/src/macos.m
@@ -570,7 +570,11 @@ static NSMenuItem *makeMenuItems_(NSMenu *menu, MenuCommands *commands, const iM
570 deinit_String(&itemTitle); 570 deinit_String(&itemTitle);
571 [item setTarget:commands]; 571 [item setTarget:commands];
572 if (isChecked) { 572 if (isChecked) {
573#if defined (__MAC_10_13)
573 [item setState:NSControlStateValueOn]; 574 [item setState:NSControlStateValueOn];
575#else
576 [item setState:NSOnState];
577#endif
574 selectedItem = item; 578 selectedItem = item;
575 } 579 }
576 [item setEnabled:!isDisabled]; 580 [item setEnabled:!isDisabled];