Commit aab6c356 authored by Michael Reeves's avatar Michael Reeves

Keep m_bDirCompare in-sync when completeInit is called with non-empty path

Anytime we reset the name of the base file m_bDirCompare should be updated.
parent 10a0f48f
......@@ -408,6 +408,7 @@ void KDiff3App::completeInit(const QString& fn1, const QString& fn2, const QStri
}
if(!fn1.isEmpty()) {
m_sd1.setFilename(fn1);
m_bDirCompare = FileAccess(m_sd1.getFilename()).isDir();
}
if(!fn2.isEmpty()) {
m_sd2.setFilename(fn2);
......
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