Skip to content
Permalink
Browse files

set precision to 0 if not defined

  • Loading branch information
slarosa committed Jul 6, 2018
1 parent e715b91 commit 6e4506906ca41b7f10912a144b74d5e779f38f8f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsfieldcalculator.h
@@ -66,7 +66,7 @@ class APP_EXPORT QgsFieldCalculator: public QDialog, private Ui::QgsFieldCalcula
static_cast< QVariant::Type >( mOutputFieldTypeComboBox->itemData( mOutputFieldTypeComboBox->currentIndex(), Qt::UserRole ).toInt() ),
mOutputFieldTypeComboBox->itemData( mOutputFieldTypeComboBox->currentIndex(), Qt::UserRole + 1 ).toString(),
mOutputFieldWidthSpinBox->value(),
mOutputFieldPrecisionSpinBox->value() );
mOutputFieldPrecisionSpinBox->isEnabled() ? mOutputFieldPrecisionSpinBox->value() : 0 );
}

/** Idx of changed attribute*/

0 comments on commit 6e45069

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