We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent fc4fd61 commit e3f630aCopy full SHA for e3f630a
src/app/qgsmaptoolidentifyaction.cpp
@@ -119,7 +119,9 @@ void QgsMapToolIdentifyAction::canvasReleaseEvent( QMouseEvent *e )
119
120
identifyMenu()->setResultsIfExternalAction( false );
121
122
- bool extendedMenu = e->modifiers() == Qt::ShiftModifier;
+ // enable the right click for extended menu so it behaves as a contextual menu
123
+ // this would be removed when a true contextual menu is brought in QGIS
124
+ bool extendedMenu = e->modifiers() == Qt::ShiftModifier || e->button() == Qt::RightButton ;
125
identifyMenu()->setExecWithSingleResult( extendedMenu );
126
identifyMenu()->setShowFeatureActions( extendedMenu );
127
IdentifyMode mode = extendedMenu ? LayerSelection : DefaultQgsSetting;
0 commit comments