summaryrefslogtreecommitdiff
path: root/plugins/Import/src/wizard.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-22 22:20:46 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-22 22:20:46 +0300
commit49959b6d4b0fa837e02ba03cc62bfb94dda517c0 (patch)
tree0018c7522b129a7c64f917d6ea1197bb688ebdae /plugins/Import/src/wizard.cpp
parentb97a2cf13002dd897e1021f4f5ae30006f87b269 (diff)
Import - adaptation for batch import processing
Diffstat (limited to 'plugins/Import/src/wizard.cpp')
-rw-r--r--plugins/Import/src/wizard.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Import/src/wizard.cpp b/plugins/Import/src/wizard.cpp
index 1decf1d74f..4f54560ddc 100644
--- a/plugins/Import/src/wizard.cpp
+++ b/plugins/Import/src/wizard.cpp
@@ -163,8 +163,9 @@ INT_PTR CALLBACK WizardDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lP
DestroyWindow(hwndPage);
DestroyWindow(hdlg);
break;
+
case WM_DESTROY:
- if (g_bServiceMode)
+ if (g_bSendQuit)
PostQuitMessage(0);
}