locate to the new directory after creation

Signed-off-by: Le Tan <tamlokveer@gmail.com>
This commit is contained in:
Le Tan 2017-01-21 09:43:48 +08:00
parent fb1a172acf
commit bc9ed31db6

View File

@ -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);