Skip to content
Permalink
Browse files

Fix clear values

  • Loading branch information
nyalldawson committed Dec 16, 2020
1 parent 92c932b commit d44f5e1b051244e4de8acf3d2b18459044df867e
@@ -36,6 +36,9 @@ QgsPointCloud3DSymbolWidget::QgsPointCloud3DSymbolWidget( QgsPointCloudLayer *la
mPointSizeSpinBox->setClearValue( 2.0 );
mMaxScreenErrorSpinBox->setClearValue( 1.0 );

mColorRampShaderMinEdit->setShowClearButton( false );
mColorRampShaderMaxEdit->setShowClearButton( false );

mRenderingParameterComboBox->setLayer( layer );
mRenderingParameterComboBox->setFilters( QgsPointCloudAttributeProxyModel::Numeric );
mRenderingParameterComboBox->setAllowEmptyAttributeName( false );
@@ -33,6 +33,9 @@ QgsPointCloudAttributeByRampRendererWidget::QgsPointCloudAttributeByRampRenderer
mAttributeComboBox->setAllowEmptyAttributeName( false );
mAttributeComboBox->setFilters( QgsPointCloudAttributeProxyModel::Numeric );

mMinSpin->setShowClearButton( false );
mMaxSpin->setShowClearButton( false );

if ( layer )
{
mAttributeComboBox->setLayer( layer );
@@ -177,7 +177,7 @@
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="mColorRampShaderMinEdit">
<widget class="QgsDoubleSpinBox" name="mColorRampShaderMinEdit">
<property name="decimals">
<number>6</number>
</property>
@@ -200,7 +200,7 @@
</widget>
</item>
<item>
<widget class="QDoubleSpinBox" name="mColorRampShaderMaxEdit">
<widget class="QgsDoubleSpinBox" name="mColorRampShaderMaxEdit">
<property name="decimals">
<number>6</number>
</property>

0 comments on commit d44f5e1

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