added missing change in previous commit

This commit is contained in:
csoler 2023-07-24 18:35:05 +02:00
parent 10feb45bce
commit 7a4558a3da

View File

@ -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)