summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/DbEditorPP/src/main.cpp')
-rw-r--r--plugins/DbEditorPP/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp
index 729cde6ebe..4ad0588629 100644
--- a/plugins/DbEditorPP/src/main.cpp
+++ b/plugins/DbEditorPP/src/main.cpp
@@ -269,7 +269,7 @@ int PreShutdown(WPARAM wParam,LPARAM lParam)
INT_PTR ServiceMode(WPARAM wParam,LPARAM lParam)
{
bServiceMode = TRUE;
- return 0;
+ return SERVICE_ONLYDB; // load database and then call us
}
INT_PTR ImportFromFile(WPARAM wParam,LPARAM lParam)