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:isTreeOpen()
call s:createTreeWin()
call s:restoreScreenState()
if !&hidden
call s:renderView()
endif
call s:restoreScreenState()
else
call s:closeTree()
endif