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