Skip to content
Permalink
Browse files

Fixes raster sublayer not apperaring in the browser tree

  • Loading branch information
elpaso committed Aug 6, 2017
1 parent 64201f1 commit f96513d7fedbe7f1fd319eeba09b57a1c8e3902a
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/providers/gdal/qgsgdaldataitems.cpp
@@ -99,7 +99,9 @@ QVector<QgsDataItem *> QgsGdalLayerItem::createChildren()

childItem = new QgsGdalLayerItem( this, name, mSublayers[i], mSublayers[i] );
if ( childItem )
this->addChildItem( childItem );
{
children.append( childItem );
}
}
}

0 comments on commit f96513d

Please sign in to comment.
You can’t perform that action at this time.