25 - skadda tried to index db a nil value
What is the issue?
missing self for db.mode and db.set in skadda.lua in libe 1577 and 1578
Please provide any additional information below.
Original code:
-- Set this mode as the active mode if it matches the saved one.
-- Bit of a hack.
for i, win in ipairs(windows) do
if mode.name == db.mode then
self:RestoreView(win, db.set, mode.name)
end
end
Modified code:
-- Set this mode as the active mode if it matches the saved one.
-- Bit of a hack.
for i, win in ipairs(windows) do
if mode.name == self.db.mode then
self:RestoreView(win, self.db.set, mode.name)
end
end
Edit: forgot to say that this is in r137 version.
- 1 comment
- 1 comment
- Reply
- #1
Zarnivoop Mar 14, 2009 at 14:31 UTC - 0 likesThanks :)