Fix regression. Changing size or height doesn't update increments.
--HG-- branch : develop
This commit is contained in:
parent
7c03d366e4
commit
1329496930
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user