X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gtk%2Fxboard.c;h=7922133988108fe00bfb5caf7c697733c58773e0;hb=3c99c449641fc101cf866ab2b0506ad8194cad1e;hp=5da2d3e66b5ffa4edcbb7fdb7284964d3129becd;hpb=a24992eef4621e0f45993a38cc6770cdb631d2cc;p=xboard.git diff --git a/gtk/xboard.c b/gtk/xboard.c index 5da2d3e..7922133 100644 --- a/gtk/xboard.c +++ b/gtk/xboard.c @@ -1799,8 +1799,9 @@ ModeHighlight () if (wname != NULL) { MarkMenuItem(wname, True); } - oldmode = gameMode; + if(oldMode == TwoMachinesPlay) EnableNamedMenuItem("Mode.MachineMatch", True); MarkMenuItem("Mode.MachineMatch", matchMode && matchGame < appData.matchGames); + oldmode = gameMode; /* Maybe all the enables should be handled here, not just this one */ EnableNamedMenuItem("Mode.Training", gameMode == Training || gameMode == PlayFromGameFile);