diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-05 20:42:57 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-05 20:43:01 +0300 |
commit | 5ea54da8026fe42e1511ca3b2047eb4fb8805b3e (patch) | |
tree | f824c376dfdda9b3ad100740546566d230b1cbbe | |
parent | 6442db12241044a77b445e90b7cb2f0ebfe9e27d (diff) |
fixes #3805 (Если я меняю в опциях настройку, каким плагином показывать журнал, то кнопка OK срабатывает как "Apply")
-rw-r--r-- | src/mir_app/src/srmm_log.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mir_app/src/srmm_log.cpp b/src/mir_app/src/srmm_log.cpp index 647304eb86..c148a07589 100644 --- a/src/mir_app/src/srmm_log.cpp +++ b/src/mir_app/src/srmm_log.cpp @@ -147,8 +147,10 @@ public: if (auto *pLogger = (SrmmLogWindowClass *)m_list.GetItemData(idx))
g_logger = pLogger->szShortName;
- PostMessage(m_hwndParent, WM_CLOSE, 1, 0);
- mir_forkthread(ReloadOptions, m_hwndParent);
+ if (!m_bExiting) {
+ PostMessage(m_hwndParent, WM_CLOSE, 1, 0);
+ mir_forkthread(ReloadOptions, m_hwndParent);
+ }
return true;
}
|