mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Refresh all expanded directories too, when reloading a directory.
BUG: 295300 FIXED-IN: 4.10.2 REVIEW: 109488
This commit is contained in:
parent
964978ec70
commit
d3ad8f5937
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue