mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
[gui] Data defined override: middle-click to open exp dialog
This commit is contained in:
parent
f5e3a358fc
commit
782ff19a86
@ -263,6 +263,13 @@ void QgsPropertyOverrideButton::mouseReleaseEvent( QMouseEvent *event )
|
||||
return;
|
||||
}
|
||||
|
||||
// Middle button click to open the Expression Builder dialog
|
||||
if ( event->button() == Qt::MiddleButton )
|
||||
{
|
||||
showExpressionDialog();
|
||||
return;
|
||||
}
|
||||
|
||||
// pass to default behavior
|
||||
QToolButton::mousePressEvent( event );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user