Return empty string if relative path to measurements is empty.
--HG-- branch : develop
This commit is contained in:
parent
852bd63fe1
commit
bd2e1063e3
|
@ -350,7 +350,7 @@ QString MainWindow::AbsoluteMPath(const QString &patternPath, const QString &rel
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (QFileInfo(relativeMPath).isAbsolute())
|
if (relativeMPath.isEmpty() || QFileInfo(relativeMPath).isAbsolute())
|
||||||
{
|
{
|
||||||
return relativeMPath;
|
return relativeMPath;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user