diff --git a/Display-Lock/ui.c b/Display-Lock/ui.c index e674eed..dd7f50e 100644 --- a/Display-Lock/ui.c +++ b/Display-Lock/ui.c @@ -112,8 +112,6 @@ void mainWindowInit(HWND hDlg, MAIN_WINDOW_CONTROLS *mainWindowControls) tci.pszText = L"Settings"; TabCtrl_InsertItem(mainWindowControls->tabCtrl, SETTINGS_VIEW, &tci); - - } void windowsButtonStart(WINDOW_VIEW_CONTROLS *windowControls, ARGS *args, volatile BOOL *running, int windowSelection) @@ -123,6 +121,7 @@ void windowsButtonStart(WINDOW_VIEW_CONTROLS *windowControls, ARGS *args, volati startThread(&windowControls->clipThread, cursorLock, (void*)args); EnableWindow(windowControls->startButton, FALSE); EnableWindow(windowControls->stopButton, TRUE); + EnableWindow(windowControls->comboBox, FALSE); } void windowsButtonStop(MENU menu, WINDOW_VIEW_CONTROLS *windowControls) @@ -130,6 +129,7 @@ void windowsButtonStop(MENU menu, WINDOW_VIEW_CONTROLS *windowControls) *windowControls->runningClip = FALSE; EnableWindow(windowControls->startButton, TRUE); EnableWindow(windowControls->stopButton, FALSE); + EnableWindow(windowControls->comboBox, TRUE); menu.closeThread(windowControls->clipThread, windowControls->runningClip); }