X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/ef114e9b86efa3b430985888d3d7630ebd5d81fb..fa3abef5abe95dd9668a87b1cc57a724dcbf6354:/osx.m diff --git a/osx.m b/osx.m index ec9b6f9..33031e3 100644 --- a/osx.m +++ b/osx.m @@ -806,7 +806,8 @@ struct frontend { - (BOOL)validateMenuItem:(NSMenuItem *)item { if ([item action] == @selector(copy:)) - return (ourgame->can_format_as_text ? YES : NO); + return (ourgame->can_format_as_text_ever && + midend_can_format_as_text_now(me) ? YES : NO); else if ([item action] == @selector(solveGame:)) return (ourgame->can_solve ? YES : NO); else