bugfix when creating a fresh tree for a tab

This commit is contained in:
Martin Grenfell
2008-12-14 23:01:50 +13:00
parent 888934a3be
commit 7ac998fafc

View File

@@ -1727,7 +1727,7 @@ function! s:initNerdTree(name)
if s:isTreeOpen()
call s:closeTree()
endif
unlet b:NERDTreeRoot
unlet t:NERDTreeBufName
endif
let newRoot = s:TreeDirNode.New(path)