diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index a5de2ce02..d6bd6fcec 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -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; }