From 154e66c1503c1352990adf30fd7414936a8e4307 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Mon, 3 Aug 2015 21:07:04 +0200 Subject: [PATCH] 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'. --- dialogs.c | 1 + winboard/wsettings.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) 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 ); -- 1.7.0.4