Skip to content

Commit

Permalink
Fix sublayers disappear when refreshing GDAL layers
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Aug 9, 2017
1 parent 1c3fade commit 471b447
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/gdal/qgsgdaldataitems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ QgsGdalLayerItem::QgsGdalLayerItem( QgsDataItem *parent,
if ( sublayers && !sublayers->isEmpty() )
{
mSublayers = *sublayers;
mCapabilities |= Fertile;
setState( NotPopulated );
}
else
Expand Down

0 comments on commit 471b447

Please sign in to comment.