This commit is contained in:
tooomm 2026-05-17 17:13:40 +02:00 committed by GitHub
parent 49328849f5
commit 22ee2d76f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -611,8 +611,9 @@ void ChatView::mousePressEvent(QMouseEvent *event)
{
switch (hoveredItemType) {
case HoveredCard: {
if ((event->button() == Qt::MiddleButton) || (event->button() == Qt::LeftButton))
if ((event->button() == Qt::MiddleButton) || (event->button() == Qt::LeftButton)) {
emit showCardInfoPopup(event->globalPosition().toPoint(), {hoveredContent});
}
break;
}
case HoveredUser: {