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/Scriver/src/msgdialog.cpp | |
parent | ddfe88bdb92ee76a8757389e44585bac70f632e5 (diff) |
fixes #4679 (NewStory: кнопка "Цитата" плагина сообщений цитирует не выбранное событие, а последнее)
Diffstat (limited to 'plugins/Scriver/src/msgdialog.cpp')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 69783ba143..ff8c9b9a98 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -371,7 +371,7 @@ void CMsgDialog::onClick_Quote(CCtrlButton*) if (!hDbEventLast)
return;
- wchar_t *buffer = m_pLog->GetSelection();
+ wchar_t *buffer = m_pLog->GetSelectedText();
if (buffer != nullptr) {
SetMessageText(Srmm_Quote(buffer));
mir_free(buffer);
|