summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/lpopts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/lpopts.cpp b/src/mir_app/src/lpopts.cpp
index cb234964d4..292d65f0e4 100644
--- a/src/mir_app/src/lpopts.cpp
+++ b/src/mir_app/src/lpopts.cpp
@@ -226,7 +226,7 @@ bool CLangpackDlg::OnApply()
if (tszPath[0]) {
ReloadLangpack(tszPath);
- if (m_bExiting) {
+ if (!m_bExiting) {
PostMessage(m_hwndParent, WM_CLOSE, 1, 0);
mir_forkthread(ReloadOptions, m_hwndParent);
}