summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/msgoptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src/msgoptions.cpp')
-rw-r--r--plugins/Scriver/src/msgoptions.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/Scriver/src/msgoptions.cpp b/plugins/Scriver/src/msgoptions.cpp
index 3ffb686ae7..b51cddc4fa 100644
--- a/plugins/Scriver/src/msgoptions.cpp
+++ b/plugins/Scriver/src/msgoptions.cpp
@@ -805,9 +805,11 @@ int OptInitialise(WPARAM wParam, LPARAM)
odp.szTab.a = LPGEN("Layout");
g_plugin.addOptions(wParam, &odp);
- odp.pDialog = new CLogOptionsDlg();
- odp.szTab.a = LPGEN("Event log");
- g_plugin.addOptions(wParam, &odp);
+ if (!Srmm_IsCustomLogUsed()) {
+ odp.pDialog = new CLogOptionsDlg();
+ odp.szTab.a = LPGEN("Event log");
+ g_plugin.addOptions(wParam, &odp);
+ }
////////////////////////////////////////////////////////////////////////////////////////
odp.szGroup.a = LPGEN("Message sessions");