Commit 4fc52d71 authored by Maik Qualmann's avatar Maik Qualmann
Browse files

fix saving Url in the image editor if contains move to up directory

parent 23cb7166
......@@ -2264,6 +2264,8 @@ bool EditorWindow::showFileSaveDialog(const QUrl& initialUrl, QUrl& newURL)
}
newURL = urls.first();
newURL.setPath(QDir::cleanPath(newURL.path()));
QFileInfo fi(newURL.fileName());
if (fi.suffix().isEmpty())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment