Commit d3ad8f59 authored by Emmanuel Pescosta's avatar Emmanuel Pescosta

Refresh all expanded directories too, when reloading a directory.

BUG: 295300
FIXED-IN: 4.10.2
REVIEW: 109488
parent 964978ec
......@@ -120,6 +120,11 @@ void KFileItemModel::loadDirectory(const KUrl& url)
void KFileItemModel::refreshDirectory(const KUrl& url)
{
// Refresh all expanded directories first (Bug 295300)
foreach (const KUrl& expandedUrl, m_expandedDirs) {
m_dirLister->openUrl(expandedUrl, KDirLister::Reload);
}
m_dirLister->openUrl(url, KDirLister::Reload);
}
......
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