Merge pull request #1778 from Elv13/fix_1777
menu: Check if the client is still valid before accessing props
This commit is contained in:
commit
3cfb577387
|
@ -512,6 +512,7 @@ function menu.clients(args, item_args, filter)
|
|||
cls_t[#cls_t + 1] = {
|
||||
c.name or "",
|
||||
function ()
|
||||
if not c.valid then return end
|
||||
if not c:isvisible() then
|
||||
tags.viewmore(c:tags(), c.screen)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue