mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed ability to copy entire translated text from context menu.
This commit is contained in:
parent
8b6a7a443e
commit
dcf4f45a36
1 changed files with 1 additions and 1 deletions
|
@ -2665,7 +2665,7 @@ TextWithEntities HistoryItem::translatedTextWithLocalEntities() const {
|
||||||
TextForMimeData HistoryItem::clipboardText() const {
|
TextForMimeData HistoryItem::clipboardText() const {
|
||||||
return isService()
|
return isService()
|
||||||
? TextForMimeData()
|
? TextForMimeData()
|
||||||
: TextForMimeData::WithExpandedLinks(_text);
|
: TextForMimeData::WithExpandedLinks(translatedText());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool HistoryItem::changeViewsCount(int count) {
|
bool HistoryItem::changeViewsCount(int count) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue