mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fixed double click in emote popup. (#679)
This commit is contained in:
parent
fec89a4807
commit
d6c4244b79
|
@ -1025,7 +1025,10 @@ void ChannelView::handleMouseClick(QMouseEvent *event,
|
|||
auto &link = hoveredElement->getLink();
|
||||
if (!getSettings()->linksDoubleClickOnly) {
|
||||
this->handleLinkClick(event, link, layout);
|
||||
}
|
||||
|
||||
// Invoke to signal from EmotePopup.
|
||||
if (link.type == Link::InsertText) {
|
||||
this->linkClicked.invoke(link);
|
||||
}
|
||||
} break;
|
||||
|
|
Loading…
Reference in a new issue