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:
@@ -609,6 +609,11 @@ QString ChannelView::getSelectedText()
|
||||
: layout->getLastCharacterIndex() + 1;
|
||||
|
||||
layout->addSelectionText(result, from, to);
|
||||
|
||||
if (msg != indexEnd)
|
||||
{
|
||||
result += '\n';
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user