diff --git a/src/libs/vtools/dialogs/support/dialogeditlabel.cpp b/src/libs/vtools/dialogs/support/dialogeditlabel.cpp index 448beee06..97a7aa90b 100644 --- a/src/libs/vtools/dialogs/support/dialogeditlabel.cpp +++ b/src/libs/vtools/dialogs/support/dialogeditlabel.cpp @@ -500,7 +500,7 @@ void DialogEditLabel::InitPlaceholders() const QMap materials = m_doc->GetPatternMaterials(); for (int i = 0; i < userMaterialPlaceholdersQuantity; ++i) { - const QString number = QString(" %1").arg(i + 1, 2, 10, QLatin1Char('0')); + const QString number = QString::number(i+1); QString value; if (materials.contains(i + 1))