Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #502 from nyalldawson/wms_dialog
Fix tab order in WMS dialog, change layer control to extended selection mode for usability
  • Loading branch information
jef-n committed Apr 13, 2013
2 parents f0132dc + 7afa4f6 commit 7d425bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/providers/wms/qgswmssourceselect.cpp
Expand Up @@ -109,6 +109,7 @@ QgsWMSSourceSelect::QgsWMSSourceSelect( QWidget * parent, Qt::WFlags fl, bool ma

layout->addStretch();
btnGrpImageEncoding->setLayout( layout );
setTabOrder( lstLayers, mImageFormatGroup->button( 0 ) );

//set the current project CRS if available
long currentCRS = QgsProject::instance()->readNumEntry( "SpatialRefSys", "/ProjectCRSID", -1 );
Expand Down
7 changes: 6 additions & 1 deletion src/ui/qgswmssourceselectbase.ui
Expand Up @@ -135,7 +135,7 @@
</sizepolicy>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::MultiSelection</enum>
<enum>QAbstractItemView::ExtendedSelection</enum>
</property>
<property name="allColumnsShowFocus">
<bool>true</bool>
Expand Down Expand Up @@ -461,9 +461,14 @@
<tabstop>btnNew</tabstop>
<tabstop>btnEdit</tabstop>
<tabstop>btnDelete</tabstop>
<tabstop>btnLoad</tabstop>
<tabstop>btnSave</tabstop>
<tabstop>btnAddDefault</tabstop>
<tabstop>lstLayers</tabstop>
<tabstop>leLayerName</tabstop>
<tabstop>mTileWidth</tabstop>
<tabstop>mTileHeight</tabstop>
<tabstop>mFeatureCount</tabstop>
<tabstop>btnChangeSpatialRefSys</tabstop>
<tabstop>mLayerUpButton</tabstop>
<tabstop>mLayerDownButton</tabstop>
Expand Down

0 comments on commit 7d425bf

Please sign in to comment.