mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Remove emoji-set preview context menu.
This commit is contained in:
parent
012ecb2dcc
commit
075ced2742
1 changed files with 3 additions and 1 deletions
|
@ -830,7 +830,9 @@ void StickerSetBox::Inner::send(
|
|||
|
||||
void StickerSetBox::Inner::contextMenuEvent(QContextMenuEvent *e) {
|
||||
const auto index = stickerFromGlobalPos(e->globalPos());
|
||||
if (index < 0 || index >= _pack.size()) {
|
||||
if (index < 0
|
||||
|| index >= _pack.size()
|
||||
|| setType() != Data::StickersType::Stickers) {
|
||||
return;
|
||||
}
|
||||
const auto type = _controller->content()->sendMenuType();
|
||||
|
|
Loading…
Add table
Reference in a new issue