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
......@@ -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;
}
......
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