Improve warning message to provide more appropriate infromation about an error.
--HG-- branch : develop
This commit is contained in:
parent
4af32961b0
commit
d61f732bde
|
@ -4437,7 +4437,8 @@ bool MainWindow::LoadPattern(QString fileName, const QString& customMeasureFile)
|
||||||
|
|
||||||
if (not LoadMeasurements(newPath))
|
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)));
|
.arg(newPath)));
|
||||||
qApp->setOpeningPattern();// End opening file
|
qApp->setOpeningPattern();// End opening file
|
||||||
Clear();
|
Clear();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user