Skip to content
Permalink
Browse files

fix #7642

  • Loading branch information
jef-n committed Apr 18, 2013
1 parent 02fc6ae commit 404d89faf41447bb28238966afa14379968fe2d4
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/providers/wms/qgswmssourceselect.cpp
@@ -293,6 +293,7 @@ bool QgsWMSSourceSelect::populateLayerList( QgsWmsProvider *wmsProvider )
if ( !wmsProvider->supportedLayers( layers ) )
return false;

bool first = true;
foreach ( QString encoding, wmsProvider->supportedImageEncodings() )
{
int id = mMimeMap.value( encoding, -1 );
@@ -303,6 +304,11 @@ bool QgsWMSSourceSelect::populateLayerList( QgsWmsProvider *wmsProvider )
}

mImageFormatGroup->button( id )->setVisible( true );
if ( first )
{
mImageFormatGroup->button( id )->setChecked( true );
first = false;
}
}

btnGrpImageEncoding->setEnabled( true );

0 comments on commit 404d89f

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