Skip to content

Commit 10af737

Browse files
committed
Fix a crash with highlights in identify results
1 parent d62a498 commit 10af737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsidentifyresultsdialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ void QgsIdentifyResultsDialog::layerDestroyed()
13581358
{
13591359
for ( int j = 0; j < layItem->childCount(); j++ )
13601360
{
1361-
delete mHighlights.take( layItem->child( i ) );
1361+
delete mHighlights.take( layItem->child( j ) );
13621362
}
13631363
}
13641364
}

0 commit comments

Comments
 (0)