Skip to content

Commit

Permalink
Fixes raster sublayer not apperaring in the browser tree
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Aug 9, 2017
1 parent 64201f1 commit f96513d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/providers/gdal/qgsgdaldataitems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
}
}

Expand Down

0 comments on commit f96513d

Please sign in to comment.