Fix bug in Label template editor.
User material placeholders were wrong in combobox. --HG-- branch : develop
This commit is contained in:
parent
da314b3265
commit
6e0584e848
|
@ -500,7 +500,7 @@ void DialogEditLabel::InitPlaceholders()
|
||||||
const QMap<int, QString> materials = m_doc->GetPatternMaterials();
|
const QMap<int, QString> materials = m_doc->GetPatternMaterials();
|
||||||
for (int i = 0; i < userMaterialPlaceholdersQuantity; ++i)
|
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;
|
QString value;
|
||||||
if (materials.contains(i + 1))
|
if (materials.contains(i + 1))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user