awful.widget: fix tags removal
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
5d87bccbc2
commit
e9916d34b6
|
@ -51,7 +51,7 @@ function taglist.new(scr, label, buttons)
|
|||
end
|
||||
-- Remove widgets
|
||||
elseif len > #tags then
|
||||
for i = #tags, len do
|
||||
for i = #tags + 1, len do
|
||||
w[i] = nil
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue