From 1329496930aaf94527272db3f937f3e165af90b5 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 7 Sep 2019 10:52:44 +0300 Subject: [PATCH] Fix regression. Changing size or height doesn't update increments. --HG-- branch : develop --- src/app/valentina/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index fa039ec9f..a23665c3a 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -3594,7 +3594,7 @@ void MainWindow::ChangedSize(const QString & text) if (UpdateMeasurements(AbsoluteMPath(qApp->GetPatternPath(), doc->MPath()), text.toInt(), static_cast(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(pattern->size()), text.toInt())) { - doc->LiteParseTree(Document::LiteParse); + doc->LiteParseTree(Document::FullLiteParse); emit sceneDetails->DimensionsChanged(); } else