Skip to content
Permalink
Browse files
Fix column mismatch in wfs dialog
  • Loading branch information
mhugent committed Dec 15, 2011
1 parent de92cac commit 42b6d025f92cec69a99232b64c87667124dc571e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/wfs/qgswfssourceselect.cpp
@@ -362,7 +362,7 @@ void QgsWFSSourceSelect::on_btnLoad_clicked()

void QgsWFSSourceSelect::on_treeWidget_itemDoubleClicked( QTreeWidgetItem* item, int column )
{
if ( item && column == 3 )
if ( item && column == 4 )
{
//get available fields for wfs layer
QgsWFSProvider p( "" );
@@ -395,7 +395,7 @@ void QgsWFSSourceSelect::on_treeWidget_itemDoubleClicked( QTreeWidgetItem* item,

if ( d.exec() == QDialog::Accepted )
{
item->setText( 3, w->getExpressionString() );
item->setText( 4, w->getExpressionString() );
}
}
}

0 comments on commit 42b6d02

Please sign in to comment.