mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
clear the selection when loading the sub tree
svn path=/trunk/KDE/kdebase/apps/; revision=805603
This commit is contained in:
parent
fc97fa250d
commit
9d596ce883
|
@ -210,6 +210,8 @@ void TreeViewSidebarPage::expandToLeafDir()
|
|||
|
||||
void TreeViewSidebarPage::loadSubTree()
|
||||
{
|
||||
m_treeView->selectionModel()->clearSelection();
|
||||
|
||||
if (m_leafDir.isParentOf(m_dirLister->url())) {
|
||||
// The leaf directory is not a child of the base URL, hence
|
||||
// no sub directory must be loaded or selected.
|
||||
|
|
Loading…
Reference in a new issue