Skip to content

Commit

Permalink
Merge pull request #1831 from giohappy/wms_legend_fix
Browse files Browse the repository at this point in the history
Fix erroneous extent for contextual legend
  • Loading branch information
wonder-sk committed Jan 14, 2015
2 parents b49da36 + 224b2c8 commit e26e365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -3064,7 +3064,7 @@ QgsImageFetcher* QgsWmsProvider::getLegendGraphicFetcher( const QgsMapSettings*
if ( mapSettings && mSettings.mEnableContextualLegend )
{
scale = mapSettings->scale();
mapExtent = mapSettings->extent();
mapExtent = mapSettings->visibleExtent();
}
else
{
Expand Down

0 comments on commit e26e365

Please sign in to comment.