Don't allow removing the 'All' tab
This commit is contained in:
parent
9e1f608846
commit
74e88acadf
|
@ -446,6 +446,8 @@ end
|
|||
function i3.remove_minitab(name)
|
||||
if not true_str(name) then
|
||||
return err "i3.remove_minitab: name missing"
|
||||
elseif name == "All" then
|
||||
return err "i3.remove_minitab: removing the 'All' tab is not allowed"
|
||||
end
|
||||
|
||||
for i = #i3.minitabs, 1, -1 do
|
||||
|
|
Ŝarĝante…
Reference in New Issue