Skip to content

Commit

Permalink
fix: return when no real windows found
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jun 20, 2023
1 parent 4ccdcbb commit 0ffa543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/edgy/edgebar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function M:on_hide(win)
return
end
if #real == 0 then
self:close()
return self:close()
end

table.sort(real, function(a, b)
Expand Down

0 comments on commit 0ffa543

Please sign in to comment.