Skip to content

Commit

Permalink
Mark whole Auto Fixes group as disabled from geometryless layers
Browse files Browse the repository at this point in the history
Results in nicer widget styling than disabling individual widgets
  • Loading branch information
nyalldawson committed Aug 27, 2018
1 parent e7b5d62 commit c87b625
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/app/qgsvectorlayerproperties.cpp
Expand Up @@ -438,6 +438,7 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(
{
mRemoveDuplicateNodesCheckbox->setEnabled( false );
mGeometryPrecisionSpinBox->setEnabled( false );
mGeometryAutoFixesGroupBox->setEnabled( false );
}

optionsStackedWidget_CurrentChanged( mOptStackedWidget->currentIndex() );
Expand Down
2 changes: 1 addition & 1 deletion src/ui/qgsvectorlayerpropertiesbase.ui
Expand Up @@ -2358,7 +2358,7 @@ border-radius: 2px;</string>
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<widget class="QGroupBox" name="mGeometryAutoFixesGroupBox">
<property name="title">
<string>Automatic Fixes</string>
</property>
Expand Down

0 comments on commit c87b625

Please sign in to comment.