summaryrefslogtreecommitdiff
path: root/src/mir_core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-06-09 11:54:00 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-06-09 11:54:00 +0300
commit492804ca02dd69ceccae8322eb985bb8277071cc (patch)
tree871c0d57e7bb86a29e2eeafaa5b104624074f67f /src/mir_core
parentb4d1e68688b1fe2d8e040c4b48ebe0f7b34bacc0 (diff)
fix for running the same dialog multiple times
Diffstat (limited to 'src/mir_core')
-rw-r--r--src/mir_core/src/CDlgBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/CDlgBase.cpp b/src/mir_core/src/CDlgBase.cpp
index f89f68139c..71af58e913 100644
--- a/src/mir_core/src/CDlgBase.cpp
+++ b/src/mir_core/src/CDlgBase.cpp
@@ -202,7 +202,7 @@ INT_PTR CDlgBase::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
{
switch (msg) {
case WM_INITDIALOG:
- m_bInitialized = false;
+ m_bInitialized = m_bSucceeded = false;
TranslateDialog_LP(m_hwnd, &m_pPlugin);
::EnumChildWindows(m_hwnd, &GlobalFieldEnum, LPARAM(this));