From d6c4244b79ce22160c4e7c98427a2d8cfeb847f7 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sat, 25 Aug 2018 11:08:10 +0300 Subject: [PATCH] Fixed double click in emote popup. (#679) --- src/widgets/helper/ChannelView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index 2afc42e75..890356eac 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -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;