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(),
|
if (UpdateMeasurements(AbsoluteMPath(qApp->GetPatternPath(), doc->MPath()), text.toInt(),
|
||||||
static_cast<int>(pattern->height())))
|
static_cast<int>(pattern->height())))
|
||||||
{
|
{
|
||||||
doc->LiteParseTree(Document::LiteParse);
|
doc->LiteParseTree(Document::FullLiteParse);
|
||||||
emit sceneDetails->DimensionsChanged();
|
emit sceneDetails->DimensionsChanged();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -3624,7 +3624,7 @@ void MainWindow::ChangedHeight(const QString &text)
|
||||||
if (UpdateMeasurements(AbsoluteMPath(qApp->GetPatternPath(), doc->MPath()), static_cast<int>(pattern->size()),
|
if (UpdateMeasurements(AbsoluteMPath(qApp->GetPatternPath(), doc->MPath()), static_cast<int>(pattern->size()),
|
||||||
text.toInt()))
|
text.toInt()))
|
||||||
{
|
{
|
||||||
doc->LiteParseTree(Document::LiteParse);
|
doc->LiteParseTree(Document::FullLiteParse);
|
||||||
emit sceneDetails->DimensionsChanged();
|
emit sceneDetails->DimensionsChanged();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user