From 339c8817ecda334f3f7af41df07a6e7bdce8824a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 13 Jun 2019 12:07:23 +0300 Subject: fixes #1982 (Import crashes in service mode if run from Profile Manager) --- plugins/Import/src/main.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3