diff --git a/ChangeLog.txt b/ChangeLog.txt index 82eed9266..4cf1b7578 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -21,6 +21,7 @@ - Called the main app in console mode doesn't show opening file error in some cases. - [#553] Tape.exe crash. Issue with the Search field. - [#569] Tape app. Options that open new file open new instance even if a user doesn't want this. +- [#539] Infinite alert loop "Gradation doesn't support inches" when loading standard table. # Version 0.4.4 April 12, 2016 - Updated measurement templates with all measurements. Added new template Aldrich/Women measurements. diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 8523d047c..73cb39066 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -402,6 +402,12 @@ bool MainWindow::LoadMeasurements(const QString &path) return false; } + if (qApp->patternUnit() == Unit::Inch && m->Type() == MeasurementsType::Standard) + { + qWarning()<<"Gradation doesn't support inches."; + return false; + } + if (m->Type() == MeasurementsType::Standard) { m->SetDataSize();