mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
parent
e2c5995a2e
commit
eb5ba12ba3
1 changed files with 5 additions and 1 deletions
|
@ -1247,7 +1247,11 @@ void InnerWidget::showContextMenu(QContextMenuEvent *e, bool showFromTouch) {
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (msg && !link && (view->hasVisibleText() || mediaHasTextForCopy)) {
|
if (msg
|
||||||
|
&& !link
|
||||||
|
&& (view->hasVisibleText()
|
||||||
|
|| mediaHasTextForCopy
|
||||||
|
|| item->Has<HistoryMessageLogEntryOriginal>())) {
|
||||||
_menu->addAction(tr::lng_context_copy_text(tr::now), [=] {
|
_menu->addAction(tr::lng_context_copy_text(tr::now), [=] {
|
||||||
copyContextText(itemId);
|
copyContextText(itemId);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue