--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-11-25 15:47:51 +02:00
commit af1c40e027

View File

@ -3311,7 +3311,10 @@ bool MainWindow::LoadPattern(const QString &fileName, const QString& customMeasu
qCCritical(vMainWindow, "%s\n\n%s\n\n%s", qUtf8Printable(tr("File error.")),
qUtf8Printable(e.ErrorMessage()), qUtf8Printable(e.DetailedInformation()));
Clear();
if (not VApplication::CheckGUI())
{
qApp->exit(V_EX_NOINPUT);
}
return false;
}