From 7a4558a3dac121ff430fc0af91185d290c9ca2d7 Mon Sep 17 00:00:00 2001 From: csoler Date: Mon, 24 Jul 2023 18:35:05 +0200 Subject: [PATCH] added missing change in previous commit --- retroshare-gui/src/gui/common/ElidedLabel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/retroshare-gui/src/gui/common/ElidedLabel.cpp b/retroshare-gui/src/gui/common/ElidedLabel.cpp index bd86be9bd..2486d0cae 100644 --- a/retroshare-gui/src/gui/common/ElidedLabel.cpp +++ b/retroshare-gui/src/gui/common/ElidedLabel.cpp @@ -259,10 +259,10 @@ void ElidedLabel::mousePressEvent(QMouseEvent *ev) } QLabel::mousePressEvent(ev); - if(ev->buttons()==Qt::RightButton) - emit rightClicked(ev->pos()); - else + if(ev->buttons()==Qt::LeftButton) emit clicked(ev->pos()); + else if(ev->buttons()==Qt::RightButton) + emit rightClicked(ev->pos()); } void ElidedLabel::setTextColor(const QColor &color)