summaryrefslogtreecommitdiff
path: root/plugins/NewStory
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-23 19:57:58 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-23 19:57:58 +0300
commitdc597d70cef7202480eae6708e2142148e09356f (patch)
tree459e171a2e8a5bb2def7d7aea67fb769aa224bb2 /plugins/NewStory
parent349ff91be06644a8b611ecf6a39ce0ac1bcde86a (diff)
clipboard copy function is able now to copy in multiple formats at a time
Diffstat (limited to 'plugins/NewStory')
-rw-r--r--plugins/NewStory/src/history_control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp
index d035320ddb..a9c543a9f8 100644
--- a/plugins/NewStory/src/history_control.cpp
+++ b/plugins/NewStory/src/history_control.cpp
@@ -284,7 +284,7 @@ void NewstoryListData::ClearSelection(int iFirst, int iLast)
void NewstoryListData::Copy(bool bTextOnly)
{
- Utils_ClipboardCopy(GatherSelected(bTextOnly));
+ Utils_ClipboardCopy(MClipUnicode(GatherSelected(bTextOnly)));
}
void NewstoryListData::CopyPath()
@@ -293,7 +293,7 @@ void NewstoryListData::CopyPath()
if (pItem->completed()) {
DB::EventInfo dbei(pItem->hEvent);
DB::FILE_BLOB blob(dbei);
- Utils_ClipboardCopy(blob.getLocalName());
+ Utils_ClipboardCopy(MClipUnicode(blob.getLocalName()));
}
}