diff --git a/gui.cpp b/gui.cpp index 94da622..240f62c 100644 --- a/gui.cpp +++ b/gui.cpp @@ -81,6 +81,7 @@ static inline void set_timeout_enabled(unsigned long control, unsigned long depe } static inline void set_logon_enabled(unsigned char enabled) { + EnableWindow(GetDlgItem(tablist[NSSM_TAB_LOGON], IDC_INTERACT), ! enabled); EnableWindow(GetDlgItem(tablist[NSSM_TAB_LOGON], IDC_USERNAME), enabled); EnableWindow(GetDlgItem(tablist[NSSM_TAB_LOGON], IDC_PASSWORD1), enabled); EnableWindow(GetDlgItem(tablist[NSSM_TAB_LOGON], IDC_PASSWORD2), enabled);