Skip to content

Commit

Permalink
server: also load value related layers for cached layers
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 19, 2015
1 parent 764f9e7 commit 9e83ed8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/server/qgsserverprojectparser.cpp
Expand Up @@ -214,6 +214,9 @@ QgsMapLayer* QgsServerProjectParser::createLayerFromElement( const QDomElement&

if ( layer )
{
if ( layer->type() == QgsMapLayer::VectorLayer )
addValueRelationLayersForLayer( dynamic_cast<QgsVectorLayer *>( layer ) );

return layer;
}

Expand Down

0 comments on commit 9e83ed8

Please sign in to comment.