Skip to content
Permalink
Browse files

Followup d4027bb fix multiple results

  • Loading branch information
3nids committed Oct 28, 2013
1 parent 2286f0a commit a9aef8390c37790ffb801854725b8a0f91da8731
Showing with 2 additions and 7 deletions.
  1. +2 −7 src/gui/qgsmaptoolidentify.cpp
@@ -112,11 +112,11 @@ QList<QgsMapToolIdentify::IdentifyResult> QgsMapToolIdentify::identify( int x, i
QgsMapLayer *layer = it->mLayer;
if ( mLayerIdResults.contains( layer ) )
{
mLayerIdResults[layer].append( idResult );
mLayerIdResults[layer].append( *it );
}
else
{
mLayerIdResults.insert( layer, idResult );
mLayerIdResults.insert( layer, QList<IdentifyResult>() << *it );
}
}

@@ -670,8 +670,3 @@ void QgsMapToolIdentify::deleteRubberBands()
}
mRubberBands.clear();
}





0 comments on commit a9aef83

Please sign in to comment.
You can’t perform that action at this time.