Remove minus "-" from the list of measurements.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-10-26 16:46:07 +02:00
parent 3558d634c0
commit 28f5188a92

View File

@ -132,6 +132,11 @@ QStringList VAbstractPattern::ListMeasurements() const
const QList<QString> tValues = tokens.values();
for (int j = 0; j < tValues.size(); ++j)
{
if (tValues.at(j) == QLatin1Literal("-"))
{
continue;
}
if (measurements.contains(tValues.at(j)))
{
continue;