Fixed issue #539. Infinite alert loop "Gradation doesn't support inches" when
loading standard table. --HG-- branch : release
This commit is contained in:
parent
e69bae1578
commit
14a6d07b59
|
@ -21,6 +21,7 @@
|
||||||
- Called the main app in console mode doesn't show opening file error in some cases.
|
- 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.
|
- [#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.
|
- [#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
|
# Version 0.4.4 April 12, 2016
|
||||||
- Updated measurement templates with all measurements. Added new template Aldrich/Women measurements.
|
- Updated measurement templates with all measurements. Added new template Aldrich/Women measurements.
|
||||||
|
|
|
@ -402,6 +402,12 @@ bool MainWindow::LoadMeasurements(const QString &path)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (qApp->patternUnit() == Unit::Inch && m->Type() == MeasurementsType::Standard)
|
||||||
|
{
|
||||||
|
qWarning()<<"Gradation doesn't support inches.";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (m->Type() == MeasurementsType::Standard)
|
if (m->Type() == MeasurementsType::Standard)
|
||||||
{
|
{
|
||||||
m->SetDataSize();
|
m->SetDataSize();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user