From c695f9bdd30acd3064840918f1cc12107997197c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 8 May 2024 14:17:00 +0300 Subject: fixes #4140 completely --- plugins/NewStory/src/history_menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3