We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent dcd17fd commit 22eec4aCopy full SHA for 22eec4a
src/app/qgsaddattrdialog.cpp
@@ -80,11 +80,8 @@ void QgsAddAttrDialog::setPrecisionMinMax()
80
int minPrecType = mTypeBox->itemData( idx, Qt::UserRole + 4 ).toInt();
81
int maxPrecType = mTypeBox->itemData( idx, Qt::UserRole + 5 ).toInt();
82
mPrec->setVisible( minPrecType < maxPrecType );
83
- if ( mPrec->isVisible() )
84
- {
85
- mPrec->setMinimum( minPrecType );
86
- mPrec->setMaximum( qMin( maxPrecType, mLength->value() ) );
87
- }
+ mPrec->setMinimum( minPrecType );
+ mPrec->setMaximum( qMin( maxPrecType, mLength->value() ) );
88
}
89
90
void QgsAddAttrDialog::accept()
0 commit comments