From fd0f5f8d849c581ac265dce6dd7de3cbec38b7cb Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 11 Jan 2012 12:34:39 +0100 Subject: [PATCH] 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. --- winboard/woptions.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); -- 1.7.0.4