Skip to content

Commit

Permalink
Followup d4027bb fix multiple results
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Oct 28, 2013
1 parent 2286f0a commit a9aef83
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/gui/qgsmaptoolidentify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
}

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





0 comments on commit a9aef83

Please sign in to comment.