mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Right missing right click on QgsColorButtonV2
This commit is contained in:
parent
27bf440eac
commit
04c37f960e
@ -172,7 +172,12 @@ void QgsColorButtonV2::mousePressEvent( QMouseEvent *e )
|
||||
return;
|
||||
}
|
||||
|
||||
if ( e->button() == Qt::LeftButton )
|
||||
if ( e->button() == Qt::RightButton )
|
||||
{
|
||||
QToolButton::showMenu();
|
||||
return;
|
||||
}
|
||||
else if ( e->button() == Qt::LeftButton )
|
||||
{
|
||||
mDragStartPosition = e->pos();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user