From: H.G. Muller Date: Tue, 27 Dec 2011 16:56:07 +0000 (+0100) Subject: Fix menu grayout after illegal move X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=388c4cee58c0dabd0a14cf7d66d3237dcf9a655e;p=xboard.git Fix menu grayout after illegal move TheThinkingEnables were not reset to user state after the engine rejected the entered move as illegal. --- diff --git a/backend.c b/backend.c index 84692de..d765e81 100644 --- a/backend.c +++ b/backend.c @@ -8359,6 +8359,8 @@ if(appData.debugMode) fprintf(debugFP, "nodes = %d, %lld\n", (int) programStats. parseList[currentMove], _(cps->which)); DisplayMoveError(buf1); DrawPosition(FALSE, boards[currentMove]); + + SetUserThinkingEnables(); return; } if (strncmp(message, "time", 4) == 0 && StrStr(message, "Illegal")) {