diff options
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 8531236cef..91dcfa58a3 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -349,9 +349,8 @@ public: chkDelHistory.SetState(bDelHistory);
chkDelHistory.Enable(bDelHistory);
- bool bEnabled = bDelHistory && bForEveryone;
- chkForEveryone.SetState(!bEnabled);
- chkForEveryone.Enable(bEnabled);
+ chkForEveryone.SetState(false);
+ chkForEveryone.Enable(bDelHistory && bForEveryone);
if (m_iNumEvents > 1) {
CMStringW wszText(FORMAT, TranslateT("Do you really want to delete selected items (%d)?"), m_iNumEvents);
|