summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-05-08 14:17:00 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-05-08 14:17:00 +0300
commitc695f9bdd30acd3064840918f1cc12107997197c (patch)
tree14a182643a6e51357142293911ad19a83574a192
parent887c741419450a7bf29010e799fd226294545c3d (diff)
fixes #4140 completely
-rw-r--r--plugins/NewStory/src/history_menus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_menus.cpp b/plugins/NewStory/src/history_menus.cpp
index ee30a0a569..93230a07e4 100644
--- a/plugins/NewStory/src/history_menus.cpp
+++ b/plugins/NewStory/src/history_menus.cpp
@@ -62,7 +62,7 @@ HMENU NSMenu_Build(NewstoryListData *data, ItemData *item)
Menu_ShowItem(hmiCopyUrl, true);
bEditable = (item->dbe.flags & DBEF_SENT) != 0;
- bShowEventActions = item->dbe;
+ bShowEventActions = item->dbe.getEvent() != 0;
DB::EventInfo dbei(item->dbe.getEvent());
NotifyEventHooks(hEventPreBuildMenu, item->hContact, (LPARAM)&dbei);