Forgot braces
--HG-- branch : develop
This commit is contained in:
parent
4b5250209c
commit
9a15ee5740
|
@ -3112,9 +3112,13 @@ void MainWindow::LoadPattern(const QString &fileName, const QString& customMeasu
|
||||||
catch (VException &e)
|
catch (VException &e)
|
||||||
{
|
{
|
||||||
if (qApp->CheckGUI())
|
if (qApp->CheckGUI())
|
||||||
|
{
|
||||||
e.CriticalMessageBox(tr("File error."), this);
|
e.CriticalMessageBox(tr("File error."), this);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
vStdErr() << tr("File error.") << e.MoreInformation() << "\n";
|
vStdErr() << tr("File error.") << e.MoreInformation() << "\n";
|
||||||
|
}
|
||||||
Clear();
|
Clear();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user