diff --git a/src/widgets/helper/ChannelView.cpp b/src/widgets/helper/ChannelView.cpp index c5a4cbe7a86..de185eb6292 100644 --- a/src/widgets/helper/ChannelView.cpp +++ b/src/widgets/helper/ChannelView.cpp @@ -1974,7 +1974,7 @@ void ChannelView::mouseReleaseEvent(QMouseEvent *event) } // Triple-clicking a message selects the whole message - if (this->clickTimer_->isActive() && + if (foundElement && this->clickTimer_->isActive() && (fabsf(distanceBetweenPoints(this->lastDClickPosition_, event->screenPos())) < 10.f)) {