Skip to content

Commit a9aef83

Browse files
committedOct 28, 2013
Followup d4027bb fix multiple results
1 parent 2286f0a commit a9aef83

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed
 

‎src/gui/qgsmaptoolidentify.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ QList<QgsMapToolIdentify::IdentifyResult> QgsMapToolIdentify::identify( int x, i
112112
QgsMapLayer *layer = it->mLayer;
113113
if ( mLayerIdResults.contains( layer ) )
114114
{
115-
mLayerIdResults[layer].append( idResult );
115+
mLayerIdResults[layer].append( *it );
116116
}
117117
else
118118
{
119-
mLayerIdResults.insert( layer, idResult );
119+
mLayerIdResults.insert( layer, QList<IdentifyResult>() << *it );
120120
}
121121
}
122122

@@ -670,8 +670,3 @@ void QgsMapToolIdentify::deleteRubberBands()
670670
}
671671
mRubberBands.clear();
672672
}
673-
674-
675-
676-
677-

0 commit comments

Comments
 (0)
Please sign in to comment.