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)
|
||||
{
|
||||
if (qApp->CheckGUI())
|
||||
{
|
||||
e.CriticalMessageBox(tr("File error."), this);
|
||||
}
|
||||
else
|
||||
{
|
||||
vStdErr() << tr("File error.") << e.MoreInformation() << "\n";
|
||||
}
|
||||
Clear();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user