Fix regression. Changing size or height doesn't update increments.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-09-07 10:52:44 +03:00
parent 7c03d366e4
commit 1329496930

View File

@ -3594,7 +3594,7 @@ void MainWindow::ChangedSize(const QString & text)
if (UpdateMeasurements(AbsoluteMPath(qApp->GetPatternPath(), doc->MPath()), text.toInt(),
static_cast<int>(pattern->height())))
{
doc->LiteParseTree(Document::LiteParse);
doc->LiteParseTree(Document::FullLiteParse);
emit sceneDetails->DimensionsChanged();
}
else
@ -3624,7 +3624,7 @@ void MainWindow::ChangedHeight(const QString &text)
if (UpdateMeasurements(AbsoluteMPath(qApp->GetPatternPath(), doc->MPath()), static_cast<int>(pattern->size()),
text.toInt()))
{
doc->LiteParseTree(Document::LiteParse);
doc->LiteParseTree(Document::FullLiteParse);
emit sceneDetails->DimensionsChanged();
}
else