Skip to content

Commit 471b447

Browse files
committed
Fix sublayers disappear when refreshing GDAL layers
1 parent 1c3fade commit 471b447

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/providers/gdal/qgsgdaldataitems.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ QgsGdalLayerItem::QgsGdalLayerItem( QgsDataItem *parent,
3434
if ( sublayers && !sublayers->isEmpty() )
3535
{
3636
mSublayers = *sublayers;
37+
mCapabilities |= Fertile;
3738
setState( NotPopulated );
3839
}
3940
else

0 commit comments

Comments
 (0)