Fixed Valentina.exe bug in command line mode.
Not all errors were correctly catched in comsole mode. This caused method LoadPattern return successes where in reality was an error. Also this bug made regression tests less useful. --HG-- branch : release
This commit is contained in:
parent
818ff6752d
commit
12b4f8d77f
|
@ -18,6 +18,7 @@
|
||||||
- [#544] Error: Color Lines are black until touched.
|
- [#544] Error: Color Lines are black until touched.
|
||||||
- [#543] Detail loses details.
|
- [#543] Detail loses details.
|
||||||
- [#548] Bug Detail tool. Case when seam allowance is wrong.
|
- [#548] Bug Detail tool. Case when seam allowance is wrong.
|
||||||
|
- Called the main app in console mode doesn't show opening file error in some cases.
|
||||||
|
|
||||||
# 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.
|
||||||
|
|
|
@ -3587,10 +3587,16 @@ bool MainWindow::LoadPattern(const QString &fileName, const QString& customMeasu
|
||||||
ZoomFirstShow();
|
ZoomFirstShow();
|
||||||
|
|
||||||
ActionDraw(true);
|
ActionDraw(true);
|
||||||
}
|
|
||||||
qApp->setOpeningPattern();// End opening file
|
qApp->setOpeningPattern();// End opening file
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
qApp->setOpeningPattern();// End opening file
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
QStringList MainWindow::GetUnlokedRestoreFileList() const
|
QStringList MainWindow::GetUnlokedRestoreFileList() const
|
||||||
|
|
Loading…
Reference in New Issue
Block a user