Skip to content
Permalink
Browse files
Improvement to fix for 2878
git-svn-id: http://svn.osgeo.org/qgis/trunk@13907 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jul 11, 2010
1 parent 15df931 commit 59980f1ed6228720568aba27164e3a0c9dbbd004
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/plugins/wfs/qgswfssourceselect.cpp
@@ -89,7 +89,11 @@ void QgsWFSSourceSelect::populateConnectionList()
//set last used connection
QSettings s;
QString selectedConnection = s.value( "/Qgis/connections-wfs/selected" ).toString();
cmbConnections->setCurrentIndex( cmbConnections->findText( selectedConnection ) );
int index = cmbConnections->findText( selectedConnection );
if( index != -1 )
{
cmbConnections->setCurrentIndex( index );
}
}

QString QgsWFSSourceSelect::getPreferredCrs( const QSet<QString>& crsSet ) const

0 comments on commit 59980f1

Please sign in to comment.