summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/history_control.cpp')
-rw-r--r--plugins/NewStory/src/history_control.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp
index 6e1f2dbd83..56dbaa9edc 100644
--- a/plugins/NewStory/src/history_control.cpp
+++ b/plugins/NewStory/src/history_control.cpp
@@ -50,8 +50,13 @@ struct NewstoryListData : public MZeroedObject
int ret = TrackPopupMenu(GetSubMenu(hMenu, 0), TPM_RETURNCMD, pt.x, pt.y, 0, hwnd, nullptr);
switch(ret) {
case ID_CONTEXT_COPY:
+ SendMessage(hwnd, NSM_COPY, 0, 0);
break;
-
+
+ case ID_CONTEXT_EDIT:
+ BeginEditItem(index);
+ break;
+
case ID_CONTEXT_DELETE:
break;