Skip to content
Permalink
Browse files

WFS provider, connections dialog: change way that we select current i…

…ndex in the tree view of layers to be QT 5 compatible and not require showing the widget in tests
  • Loading branch information
rouault committed May 15, 2016
1 parent e5e78af commit bf91a8b61bff88cbb7dab37770b051aa9315f609
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/wfs/qgswfssourceselect.cpp
@@ -277,7 +277,7 @@ void QgsWFSSourceSelect::capabilitiesReplyFinished()
treeView->setColumnWidth( MODEL_IDX_ABSTRACT, 150 );
}
btnChangeSpatialRefSys->setEnabled( true );
treeView->selectionModel()->select( mModel->index( 0, 0 ), QItemSelectionModel::SelectCurrent | QItemSelectionModel::Rows );
treeView->selectionModel()->setCurrentIndex( mModelProxy->index( 0, 0 ), QItemSelectionModel::SelectCurrent | QItemSelectionModel::Rows );
treeView->setFocus();
}
else

0 comments on commit bf91a8b

Please sign in to comment.
You can’t perform that action at this time.