Skip to content

Commit

Permalink
fix #2631
Browse files Browse the repository at this point in the history
  • Loading branch information
rtri committed Feb 15, 2016
1 parent 4e4a9e7 commit 5778cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cont/LuaUI/widgets.lua
Expand Up @@ -268,7 +268,7 @@ function widgetHandler:SaveConfigData()
local filetable = {}
for i,w in ipairs(self.widgets) do
if (w.GetConfigData) then
self.configData[w.whInfo.name] = w:GetConfigData()
self.configData[w.whInfo.name] = select(2, pcall(w.GetConfigData))
end
self.orderList[w.whInfo.name] = i
end
Expand Down

0 comments on commit 5778cde

Please sign in to comment.