Skip to content

Commit

Permalink
Fix column mismatch in wfs dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Dec 15, 2011
1 parent de92cac commit 42b6d02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/wfs/qgswfssourceselect.cpp
Expand Up @@ -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( "" );
Expand Down Expand Up @@ -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() );
}
}
}
Expand Down

0 comments on commit 42b6d02

Please sign in to comment.