[QGIS Commit] r15725 - trunk/qgis/src/app
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat Apr 16 09:01:34 EDT 2011
Author: jef
Date: 2011-04-16 06:01:34 -0700 (Sat, 16 Apr 2011)
New Revision: 15725
Modified:
trunk/qgis/src/app/qgswmssourceselect.cpp
Log:
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.
Modified: trunk/qgis/src/app/qgswmssourceselect.cpp
===================================================================
--- trunk/qgis/src/app/qgswmssourceselect.cpp 2011-04-16 12:18:32 UTC (rev 15724)
+++ trunk/qgis/src/app/qgswmssourceselect.cpp 2011-04-16 13:01:34 UTC (rev 15725)
@@ -351,6 +351,8 @@
wmsProvider->supportedTileSets( tilesets );
tabServers->setTabEnabled( tabServers->indexOf( tabTilesets ), tilesets.size() > 0 );
+ if( tabServers->isTabEnabled( tabServers->indexOf( tabTilesets ) ) )
+ tabServers->setCurrentWidget( tabTilesets );
if ( tilesets.size() > 0 )
{
More information about the QGIS-commit
mailing list