mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +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), [=] {
|
||||
copyContextText(itemId);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue