really fix the window state restoring

This commit is contained in:
marty 2009-10-09 21:27:48 +13:00
parent 241f2e9dfe
commit 94e085f1a2

View File

@ -3351,10 +3351,10 @@ function! s:toggle(dir)
if s:treeExistsForTab() if s:treeExistsForTab()
if !s:isTreeOpen() if !s:isTreeOpen()
call s:createTreeWin() call s:createTreeWin()
call s:restoreScreenState()
if !&hidden if !&hidden
call s:renderView() call s:renderView()
endif endif
call s:restoreScreenState()
else else
call s:closeTree() call s:closeTree()
endif endif