diff options
author | George Hazan <george.hazan@gmail.com> | 2024-09-17 14:28:39 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-17 14:28:47 +0300 |
commit | 1fb1cf50e18482006dd86f2a1a47d6be2272de61 (patch) | |
tree | 42d0fa66de3424d2ba03a3c841d101f8435c6a98 /plugins/NewStory/src | |
parent | ddfe88bdb92ee76a8757389e44585bac70f632e5 (diff) |
fixes #4679 (NewStory: кнопка "Цитата" плагина сообщений цитирует не выбранное событие, а последнее)
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r-- | plugins/NewStory/src/history_log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewStory/src/history_log.cpp b/plugins/NewStory/src/history_log.cpp index 1cd971f388..7f1b35bb9b 100644 --- a/plugins/NewStory/src/history_log.cpp +++ b/plugins/NewStory/src/history_log.cpp @@ -63,9 +63,9 @@ public: return m_hwnd;
}
- wchar_t *GetSelection() override
+ wchar_t* GetSelectedText() override
{
- return nullptr;
+ return m_histCtrl->GatherSelected(true).Detach();
}
int GetType() override
|