mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-08 00:05:32 -04:00
Reverse alt-key modification to be compatible with the old selection tool
git-svn-id: http://svn.osgeo.org/qgis/trunk@14476 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
ce3c837177
commit
b92c899eaa
@ -198,7 +198,7 @@ void QgsMapToolSelectUtils::setSelectFeatures( QgsMapCanvas* canvas,
|
||||
|
||||
void QgsMapToolSelectUtils::setSelectFeatures( QgsMapCanvas* canvas, QgsGeometry* selectGeometry, QMouseEvent * e )
|
||||
{
|
||||
bool doContains = e->modifiers() & Qt::AltModifier ? false : true;
|
||||
bool doContains = e->modifiers() & Qt::AltModifier ? true : false;
|
||||
bool addSelection = e->modifiers() & Qt::ControlModifier ? true : false;
|
||||
bool substractSelection = e->modifiers() & Qt::ShiftModifier ? true : false;
|
||||
setSelectFeatures( canvas, selectGeometry, doContains, addSelection, substractSelection );
|
||||
|
Loading…
x
Reference in New Issue
Block a user