[TD] Dimensions: donovaly's minor fixes for TheoreticalExact dimensions.

This commit is contained in:
Aapo
2021-01-29 10:27:11 +02:00
committed by wwmayer
parent e802179cf4
commit 4ea0784341
3 changed files with 10 additions and 2 deletions

View File

@@ -628,7 +628,8 @@ void QGIViewDimension::updateDim()
QString labelText;
QString unitText;
if (dim->Arbitrary.getValue() && !dim->EqualTolerance.getValue()) {
if ( (dim->Arbitrary.getValue() && !dim->EqualTolerance.getValue())
|| (dim->Arbitrary.getValue() && dim->TheoreticalExact.getValue()) ) {
labelText = QString::fromUtf8(dim->getFormattedDimensionValue(1).c_str()); //just the number pref/spec/suf
} else {
if (dim->isMultiValueSchema()) {