We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e715b91 commit 6e45069Copy full SHA for 6e45069
src/app/qgsfieldcalculator.h
@@ -66,7 +66,7 @@ class APP_EXPORT QgsFieldCalculator: public QDialog, private Ui::QgsFieldCalcula
66
static_cast< QVariant::Type >( mOutputFieldTypeComboBox->itemData( mOutputFieldTypeComboBox->currentIndex(), Qt::UserRole ).toInt() ),
67
mOutputFieldTypeComboBox->itemData( mOutputFieldTypeComboBox->currentIndex(), Qt::UserRole + 1 ).toString(),
68
mOutputFieldWidthSpinBox->value(),
69
- mOutputFieldPrecisionSpinBox->value() );
+ mOutputFieldPrecisionSpinBox->isEnabled() ? mOutputFieldPrecisionSpinBox->value() : 0 );
70
}
71
72
/** Idx of changed attribute*/
0 commit comments