Skip to content

Commit

Permalink
fix(view): dont refresh items when calling open and already open
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 30, 2024
1 parent 6cae8af commit 7485aa7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/trouble/view/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,9 @@ function M:help()
end

function M:open()
if self.win:valid() then
return
end
self.win:open()
self:refresh()
return self
Expand Down

0 comments on commit 7485aa7

Please sign in to comment.