Skip to content
Permalink
Browse files
fix wms(-c) usablility issue:
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 f80ef4aa6ee5d56659d3828f06c43edbce3493e2
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgswmssourceselect.cpp
@@ -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 )
{

0 comments on commit f80ef4a

Please sign in to comment.