really fix the window state restoring
This commit is contained in:
parent
241f2e9dfe
commit
94e085f1a2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user