1
0
Fork 0

tag names should always be strings so that our epic feature of saving tiled layouts does not fuck up

This commit is contained in:
Von Random 2015-03-16 18:16:45 +03:00
parent 252144e31b
commit 7d749856a8

2
rc.lua
View file

@ -166,7 +166,7 @@ for s = 1, screen.count() do
default_tiled = layouts.tiled[1] default_tiled = layouts.tiled[1]
end end
for tag = 1, 9 do for tag = 1, 9 do
local name = tags[s].name[tag] or tag local name = tags[s].name[tag] or tostring(tag)
local layout = tags[s].layout[tag] or default_tiled local layout = tags[s].layout[tag] or default_tiled
tags[s].name[tag] = name tags[s].name[tag] = name
tags[s].layout[tag] = layout tags[s].layout[tag] = layout