From 28f5188a922b34ada4f97803ccdbc281aa22f7b5 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 26 Oct 2015 16:46:07 +0200 Subject: [PATCH] Remove minus "-" from the list of measurements. --HG-- branch : develop --- src/libs/ifc/xml/vabstractpattern.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libs/ifc/xml/vabstractpattern.cpp b/src/libs/ifc/xml/vabstractpattern.cpp index 990b0578c..a98302dc5 100644 --- a/src/libs/ifc/xml/vabstractpattern.cpp +++ b/src/libs/ifc/xml/vabstractpattern.cpp @@ -132,6 +132,11 @@ QStringList VAbstractPattern::ListMeasurements() const const QList tValues = tokens.values(); for (int j = 0; j < tValues.size(); ++j) { + if (tValues.at(j) == QLatin1Literal("-")) + { + continue; + } + if (measurements.contains(tValues.at(j))) { continue;