]> cloud.milkyroute.net Git - dolphin.git/commit
Restore the tree state in Details View if a folder is re-expanded
authorFrank Reininghaus <frank78ac@googlemail.com>
Sat, 26 Oct 2013 07:36:40 +0000 (09:36 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Sat, 26 Oct 2013 07:36:50 +0000 (09:36 +0200)
commit5a019aec3ac47363ed46e843d0c7eab6a6c2aeb9
tree8741659761747f719d2736933572f713e1296ea8
parent70cd04df40b152fd7a448964b9f9ca4948291eb3
Restore the tree state in Details View if a folder is re-expanded

This patch actually does two things when collapsing an expanded folder
with expanded children:

(a) It removes all expanded children (which are removed from the model)
    from m_expandedDirs.

(b) It remembers the expanded children and restores them if the
    top-level folder is re-expanded.

BUG: 304363
FIXED-IN: 4.12.0
REVIEW: 113293
src/kitemviews/kfileitemmodel.cpp