Skip to content

Commit

Permalink
Fix for bug #1812: WFS dialog window confusion (refers to WMS)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11513 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Aug 26, 2009
1 parent 9a54ef8 commit 757a4e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/plugins/wfs/qgswfssourceselect.cpp
Expand Up @@ -231,9 +231,10 @@ int QgsWFSSourceSelect::getCapabilitiesSOAP( const QString& uri, std::list<QStri

void QgsWFSSourceSelect::addEntryToServerList()
{
QgsNewHttpConnection *nc = new QgsNewHttpConnection( this, "/Qgis/connections-wfs/" );
QgsNewHttpConnection nc( 0, "/Qgis/connections-wfs/" );
nc.setWindowTitle( tr( "Create a new WFS connection" ) );

if ( nc->exec() )
if ( nc.exec() )
{
populateConnectionList();
}
Expand All @@ -242,6 +243,7 @@ void QgsWFSSourceSelect::addEntryToServerList()
void QgsWFSSourceSelect::modifyEntryOfServerList()
{
QgsNewHttpConnection nc( 0, "/Qgis/connections-wfs/", cmbConnections->currentText() );
nc.setWindowTitle( tr( "Modify WFS connection" ) );

if ( nc.exec() )
{
Expand Down

0 comments on commit 757a4e3

Please sign in to comment.