diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-29 19:30:11 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-29 19:30:11 +0300 |
commit | 5890b9a61ddfbd0fe84b7db2833bc4761211ffe8 (patch) | |
tree | a12310740d0987fc63d10aaf4fa01c4f1bb8b134 /plugins/Import/src | |
parent | 9aa85e74dcb8ef8bda5cd94a5cda60267816a082 (diff) |
Import: when started in the service mode it opens its window and launched Miranda
Diffstat (limited to 'plugins/Import/src')
-rw-r--r-- | plugins/Import/src/main.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/Import/src/main.cpp b/plugins/Import/src/main.cpp index d1d8447521..2f31ed23c2 100644 --- a/plugins/Import/src/main.cpp +++ b/plugins/Import/src/main.cpp @@ -128,15 +128,14 @@ static INT_PTR ServiceMode(WPARAM, LPARAM) WizardDlgParam param = { IDD_PROGRESS, (LPARAM)ProgressPageProc };
DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_WIZARD), nullptr, WizardDlgProc, LPARAM(¶m));
+ return SERVICE_CONTINUE;
}
- else {
- g_bSendQuit = true;
- WizardDlgParam param = { IDD_WIZARDINTRO, (LPARAM)WizardIntroPageProc };
- CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_WIZARD), nullptr, WizardDlgProc, (LPARAM)¶m);
- }
+ g_bSendQuit = true;
- return SERVICE_CONTINUE;
+ WizardDlgParam param = { IDD_WIZARDINTRO, (LPARAM)WizardIntroPageProc };
+ CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_WIZARD), nullptr, WizardDlgProc, (LPARAM)¶m);
+ return SERVICE_ONLYDB;
}
static INT_PTR CustomImport(WPARAM wParam, LPARAM)
|