mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
Fixed ability to copy shared links for channels with select restriction.
Fixed #28492.
This commit is contained in:
parent
c5add2fca9
commit
b64c610abb
1 changed files with 1 additions and 1 deletions
|
@ -1026,7 +1026,7 @@ void ListWidget::showContextMenu(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (link) {
|
} else if (link && !_provider->hasSelectRestriction()) {
|
||||||
const auto actionText = link->copyToClipboardContextItemText();
|
const auto actionText = link->copyToClipboardContextItemText();
|
||||||
if (!actionText.isEmpty()) {
|
if (!actionText.isEmpty()) {
|
||||||
_contextMenu->addAction(
|
_contextMenu->addAction(
|
||||||
|
|
Loading…
Add table
Reference in a new issue