Skip to content

Commit

Permalink
Fix tab order in WMS dialog, change layer control to extended selecti…
Browse files Browse the repository at this point in the history
…on mode for usability
  • Loading branch information
nyalldawson committed Apr 4, 2013
1 parent ef00813 commit 7afa4f6
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 7afa4f6

Please sign in to comment.