Return empty string if relative path to measurements is empty.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-10-05 11:58:54 +03:00
parent 852bd63fe1
commit bd2e1063e3

View File

@ -350,7 +350,7 @@ QString MainWindow::AbsoluteMPath(const QString &patternPath, const QString &rel
}
else
{
if (QFileInfo(relativeMPath).isAbsolute())
if (relativeMPath.isEmpty() || QFileInfo(relativeMPath).isAbsolute())
{
return relativeMPath;
}