From bc9ed31db660a6d3b733ca57a46ea6ac0700f2e0 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Sat, 21 Jan 2017 09:43:48 +0800 Subject: [PATCH] locate to the new directory after creation Signed-off-by: Le Tan --- src/vdirectorytree.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vdirectorytree.cpp b/src/vdirectorytree.cpp index 4a7516f7..a20a6ea2 100644 --- a/src/vdirectorytree.cpp +++ b/src/vdirectorytree.cpp @@ -315,6 +315,7 @@ void VDirectoryTree::newSubDirectory() return; } updateItemChildren(curItem); + locateDirectory(subDir); } break; } while (true); @@ -346,6 +347,7 @@ void VDirectoryTree::newRootDirectory() return; } updateItemChildren(NULL); + locateDirectory(subDir); } break; } while (true);