mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 15:45:12 +00:00
@@ -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);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user