[tabulous] Fix untabbing last tab

This commit is contained in:
Lucas de Vries 2008-06-11 11:09:23 +02:00
parent 76657e590c
commit 70a9a676ed
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ local function client_untab(cl)
table.remove(tabbed[tabindex][2], cindex)
if table.maxn(tabbed[tabindex][2]) == o then
if table.maxn(tabbed[tabindex][2]) == 0 then
-- Table is empty now, remove the tabbed display
table.remove(tabbed, tabindex)
end