Retain field values when disabling status auto-detection
This commit is contained in:
parent
d98232b76e
commit
cf0f8df7a8
|
@ -906,11 +906,6 @@ BOOL CALLBACK SettingsDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM)
|
|||
case IDC_CHECK_FILEAUTODETECTION:
|
||||
{
|
||||
bool isChecked = isCheckedOrNot(IDC_CHECK_FILEAUTODETECTION);
|
||||
if (!isChecked)
|
||||
{
|
||||
::SendDlgItemMessage(_hSelf, IDC_CHECK_UPDATESILENTLY, BM_SETCHECK, BST_UNCHECKED, 0);
|
||||
::SendDlgItemMessage(_hSelf, IDC_CHECK_UPDATEGOTOEOF, BM_SETCHECK, BST_UNCHECKED, 0);
|
||||
}
|
||||
::EnableWindow(::GetDlgItem(_hSelf, IDC_CHECK_UPDATESILENTLY), isChecked);
|
||||
::EnableWindow(::GetDlgItem(_hSelf, IDC_CHECK_UPDATEGOTOEOF), isChecked);
|
||||
|
||||
|
|
Loading…
Reference in New Issue