diff options
author | George Hazan <george.hazan@gmail.com> | 2024-05-19 19:36:48 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-05-19 19:36:48 +0300 |
commit | 886bb2f274b00560771483117dac0a4d940b4145 (patch) | |
tree | 3d3f4e3f004abeb1ceffd6d2f2042f6afb13e908 | |
parent | c81ee3954f95848ccb0ed8b3a1346c06a6c3820c (diff) |
fixes #4423 (Галка про удаление истории для всех по-прежнему взведена по умолчанию)
-rw-r--r-- | src/mir_app/src/clui.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mir_app/src/clui.cpp b/src/mir_app/src/clui.cpp index 3f8cc664c2..d256928d42 100644 --- a/src/mir_app/src/clui.cpp +++ b/src/mir_app/src/clui.cpp @@ -161,11 +161,8 @@ public: chkDelHistory.SetState(false);
chkDelHistory.Enable(bHasHistory);
- // this checkbox is disabled & checked, if deletion for everyone is not possible
- // and enabled & unchecked otherwise
- bool bEnabled = bDelHistory && bForEveryone;
- chkForEveryone.SetState(!bEnabled);
- chkForEveryone.Enable(bEnabled);
+ chkForEveryone.SetState(false);
+ chkForEveryone.Enable(bDelHistory && bForEveryone);
LOGFONT lf;
HFONT hFont = (HFONT)SendDlgItemMessage(m_hwnd, IDOK, WM_GETFONT, 0, 0);
|