Fixed too much text being copied when copying chat messages (#4812)

* fix: selection copying too much

* chore: add changelog entry

* Update changelog entry

---------

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
nerix
2023-09-17 14:37:02 +02:00
committed by GitHub
parent dc62e8248b
commit 3265df7661
4 changed files with 19 additions and 8 deletions
+5
View File
@@ -609,6 +609,11 @@ QString ChannelView::getSelectedText()
: layout->getLastCharacterIndex() + 1;
layout->addSelectionText(result, from, to);
if (msg != indexEnd)
{
result += '\n';
}
}
return result;