From 794f7105da2ac47d0d3756b3ffae3bbee7f85fab Mon Sep 17 00:00:00 2001 From: Eric Branlund Date: Sun, 5 Apr 2020 17:33:28 -0700 Subject: [PATCH] The setting for big tiles initially shown in the menu wasn't being initialized from the stored value in the settings and was always shown as big tiles enabled. Fixed. --- src/main-cocoa.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main-cocoa.m b/src/main-cocoa.m index d9adfb2ba..503b4fffd 100644 --- a/src/main-cocoa.m +++ b/src/main-cocoa.m @@ -5813,6 +5813,13 @@ static void play_sound(int event) [menuItem setState: ((is_on) ? NSOnState : NSOffState)]; return YES; } + else if (sel == @selector(toggleWideTiles:)) { + BOOL is_on = [[NSUserDefaults standardUserDefaults] + boolForKey:AngbandBigTileDefaultsKey]; + + [menuItem setState: ((is_on) ? NSOnState : NSOffState)]; + return YES; + } else if( sel == @selector(sendAngbandCommand:) || sel == @selector(saveGame:) ) { -- 2.11.0