1 more gui message removed when vit file is present but invalid
--HG-- branch : develop
This commit is contained in:
parent
f5d5c9fd57
commit
f87d0e6642
|
@ -299,7 +299,14 @@ bool MainWindow::LoadMeasurements(const QString &path)
|
||||||
}
|
}
|
||||||
catch (VException &e)
|
catch (VException &e)
|
||||||
{
|
{
|
||||||
e.CriticalMessageBox(tr("File error."), this);
|
if (qApp->CheckGUI())
|
||||||
|
{
|
||||||
|
e.CriticalMessageBox(tr("File error."), this);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
vStdErr() << tr("File error: ")<< e.MoreInformation() <<"\n";
|
||||||
|
}
|
||||||
delete m;
|
delete m;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user