Skip to content
Snippets Groups Projects
Commit 4caba7d6 authored by mae's avatar mae
Browse files

Revert "Use current file path (not dir path) for open file"

This reverts commit 38abb728.
parent e1890a78
No related branches found
No related tags found
No related merge requests found
......@@ -1009,7 +1009,7 @@ QString FileManager::currentFile() const
QString FileManager::fileDialogInitialDirectory() const
{
if (!d->m_currentFile.isEmpty())
return QFileInfo(d->m_currentFile).absoluteFilePath();
return QFileInfo(d->m_currentFile).absolutePath();
return d->m_lastVisitedDirectory;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment