summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-06-13 12:07:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-06-13 12:07:23 +0300
commit339c8817ecda334f3f7af41df07a6e7bdce8824a (patch)
treea998f73bd0c69abf9598f58c48eefb954d3499ca /plugins
parent725ee7bd32418048b1739c04ff6abf63fffab817 (diff)
fixes #1982 (Import crashes in service mode if run from Profile Manager)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Import/src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Import/src/main.cpp b/plugins/Import/src/main.cpp
index c9112d7388..50180eb11f 100644
--- a/plugins/Import/src/main.cpp
+++ b/plugins/Import/src/main.cpp
@@ -107,6 +107,7 @@ static INT_PTR ServiceMode(WPARAM wParam, LPARAM)
g_bSendQuit = true;
+ g_pBatch = new CImportBatch();
RunWizard(new CIntroPageDlg(), false);
return SERVICE_ONLYDB;
}