Show origins when add first pattern piece.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-01-24 19:04:22 +02:00
parent ea0000fea6
commit 4bb612e20e

View File

@ -217,6 +217,13 @@ void MainWindow::AddPP(const QString &PPName)
qCDebug(vMainWindow, "Error creating pattern piece with the name %s.", qUtf8Printable(PPName));
return;
}
if (comboBoxDraws->count() == 0)
{
sceneDraw->InitOrigins();
sceneDetails->InitOrigins();
}
comboBoxDraws->blockSignals(true);
comboBoxDraws->addItem(PPName);