Skip to content

Commit

Permalink
fix wms(-c) usablility issue:
Browse files Browse the repository at this point in the history
switch to tileset tab automatically when tilesets are found.
Some WMS-C server act like WMS servers although they actually
aren't.


git-svn-id: http://svn.osgeo.org/qgis/trunk@15725 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 16, 2011
1 parent f8e10a3 commit f80ef4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgswmssourceselect.cpp
Expand Up @@ -351,6 +351,8 @@ bool QgsWMSSourceSelect::populateLayerList( QgsWmsProvider *wmsProvider )
wmsProvider->supportedTileSets( tilesets );

tabServers->setTabEnabled( tabServers->indexOf( tabTilesets ), tilesets.size() > 0 );
if( tabServers->isTabEnabled( tabServers->indexOf( tabTilesets ) ) )
tabServers->setCurrentWidget( tabTilesets );

if ( tilesets.size() > 0 )
{
Expand Down

0 comments on commit f80ef4a

Please sign in to comment.