Skip to content

Commit 42b6d02

Browse files
committedDec 15, 2011
Fix column mismatch in wfs dialog
1 parent de92cac commit 42b6d02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/providers/wfs/qgswfssourceselect.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ void QgsWFSSourceSelect::on_btnLoad_clicked()
362362

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

396396
if ( d.exec() == QDialog::Accepted )
397397
{
398-
item->setText( 3, w->getExpressionString() );
398+
item->setText( 4, w->getExpressionString() );
399399
}
400400
}
401401
}

0 commit comments

Comments
 (0)
Please sign in to comment.