Clear the node list when switching directories. Otherwise navigating out of a directory and back in single window mode will show no nodes whatsoever.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29419 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
59160ac740
commit
ccefc7ac9e
@ -7467,6 +7467,7 @@ BPoseView::SwitchDir(const entry_ref *newDirRef, AttributeStreamNode *node)
|
||||
// the new add_poses thread will then set fAddPosesThread to its ID and it
|
||||
// will be allowed to add icons
|
||||
fAddPosesThreads.clear();
|
||||
fInsertedNodes.clear();
|
||||
|
||||
delete fModel;
|
||||
fModel = model;
|
||||
|
Loading…
Reference in New Issue
Block a user