Improve warning message to provide more appropriate infromation about an error.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-10-27 09:24:18 +03:00
parent 4af32961b0
commit d61f732bde

View File

@ -4437,7 +4437,8 @@ bool MainWindow::LoadPattern(QString fileName, const QString& customMeasureFile)
if (not LoadMeasurements(newPath))
{
qCCritical(vMainWindow, "%s", qUtf8Printable(tr("The measurements file '%1' could not be found.")
qCCritical(vMainWindow, "%s", qUtf8Printable(tr("The measurements file '%1' could not be found or "
"provides not enough information.")
.arg(newPath)));
qApp->setOpeningPattern();// End opening file
Clear();