Skip to content

Commit

Permalink
Fix #10720
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jul 10, 2014
1 parent 2d2340e commit 40d9145
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/mapserver/qgswmsprojectparser.cpp
Expand Up @@ -168,8 +168,7 @@ QList<QgsMapLayer*> QgsWMSProjectParser::mapLayerFromStyle( const QString& lName
QHash< QString, QDomElement >::const_iterator pLayerNameIt = pLayerByName.find( lName );
if ( pLayerNameIt != pLayerByName.constEnd() )
{
pp.layerFromLegendLayer( pLayerNameIt.value(), layers, useCache );
break;
return ( QList<QgsMapLayer*>() << pp.createLayerFromElement( pLayerNameIt.value(), useCache ) );
}

const QList<QDomElement>& legendGroupElements = pp.legendGroupElements();
Expand Down

4 comments on commit 40d9145

@mdouchin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mhugent I will like to see this bug fix backported to release-2_4 . Do you have time to do so, or shall I ask @rldhont ?

@mhugent
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ask @rldhont (I think he can just cherry-pick to release-2_4).

@rldhont
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@mdouchin
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks !

Please sign in to comment.