From: H.G. Muller Date: Wed, 11 Jan 2012 11:34:39 +0000 (+0100) Subject: Enable WB time-control dialog even when no clock mode X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=fd0f5f8d849c581ac265dce6dd7de3cbec38b7cb;p=xboard.git Enable WB time-control dialog even when no clock mode The dialog could be called from the tournament dialog to set a TCfor the tourney even when currently in game-viewer mode, so it'd better work. --- diff --git a/winboard/woptions.c b/winboard/woptions.c index a11fe55..71ccea9 100644 --- a/winboard/woptions.c +++ b/winboard/woptions.c @@ -2716,7 +2716,7 @@ TimeControl(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) CenterWindow (hDlg, GetWindow (hDlg, GW_OWNER)); Translate(hDlg, DLG_TimeControl); /* Initialize the dialog items */ - if (appData.clockMode && !appData.icsActive) { + if (/*appData.clockMode &&*/ !appData.icsActive) { // [HGM] even if !clockMode, we could want to set it in tournament dialog if (searchTime) { CheckRadioButton(hDlg, OPT_TCUseMoves, OPT_TCUseFixed, OPT_TCUseFixed);