Forgot braces

--HG--
branch : develop
This commit is contained in:
Alex 2015-08-27 22:28:54 +03:00
parent 4b5250209c
commit 9a15ee5740

View file

@ -3112,9 +3112,13 @@ void MainWindow::LoadPattern(const QString &fileName, const QString& customMeasu
catch (VException &e)
{
if (qApp->CheckGUI())
{
e.CriticalMessageBox(tr("File error."), this);
}
else
{
vStdErr() << tr("File error.") << e.MoreInformation() << "\n";
}
Clear();
return;
}