From: H.G.Muller Date: Mon, 3 Aug 2015 19:07:04 +0000 (+0200) Subject: Ignore Continue Later when match already in progress X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=154e66c1503c1352990adf30fd7414936a8e4307 Ignore Continue Later when match already in progress We have to prevent the user from changing the tournament file or parameters for a tourney in progress through pressing 'Continue Later'. --- diff --git a/dialogs.c b/dialogs.c index cf49bfa..cb9b298 100644 --- a/dialogs.c +++ b/dialogs.c @@ -331,6 +331,7 @@ UpgradeParticipant () static void PseudoOK () { + if(matchMode) return; GenericReadout(matchOptions, -2); // read all, but suppress calling of MatchOK ASSIGN(appData.participants, engineName); ASSIGN(appData.tourneyFile, tfName); diff --git a/winboard/wsettings.c b/winboard/wsettings.c index f5a1f9b..eb04e41 100644 --- a/winboard/wsettings.c +++ b/winboard/wsettings.c @@ -886,6 +886,7 @@ int MatchOK() void PseudoOK(HWND hDlg) { + if(matchMode) return; okFunc = 0; GetOptionValues(hDlg, activeCps, activeList); EndDialog( hDlg, 0 );