Skip to content
Permalink
Browse files

Hide CRS group box in vector properties for non-spatial layers

Fixes #19689
  • Loading branch information
nyalldawson committed Aug 26, 2018
1 parent 7c805b4 commit 5ba52e36e7c13c1a45720b4d9a92e2c302e016d6
Showing with 5 additions and 3 deletions.
  1. +2 −0 src/app/qgsvectorlayerproperties.cpp
  2. +3 −3 src/ui/qgsvectorlayerpropertiesbase.ui
@@ -175,6 +175,8 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(
{
labelingDialog = nullptr;
mOptsPage_Labels->setEnabled( false ); // disable labeling item
mGeometryGroupBox->setEnabled( false );
mGeometryGroupBox->setVisible( false );
}

// Create the Actions dialog tab
@@ -357,7 +357,7 @@
</sizepolicy>
</property>
<property name="currentIndex">
<number>18</number>
<number>1</number>
</property>
<widget class="QWidget" name="mOptsPage_Information">
<layout class="QVBoxLayout" name="verticalLayout_5">
@@ -550,7 +550,7 @@ border-radius: 2px;</string>
</widget>
</item>
<item>
<widget class="QgsCollapsibleGroupBox" name="indexGroupBox_2">
<widget class="QgsCollapsibleGroupBox" name="mGeometryGroupBox">
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
@@ -2543,7 +2543,7 @@ border-radius: 2px;</string>
<tabstop>mLayerOrigNameLineEdit</tabstop>
<tabstop>txtDisplayName</tabstop>
<tabstop>cboProviderEncoding</tabstop>
<tabstop>indexGroupBox_2</tabstop>
<tabstop>mGeometryGroupBox</tabstop>
<tabstop>mCrsSelector</tabstop>
<tabstop>pbnIndex</tabstop>
<tabstop>pbnUpdateExtents</tabstop>

0 comments on commit 5ba52e3

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