2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00

Merge pull request #1113 from chrox/fix_1096

fix #1096
This commit is contained in:
HW 2014-11-10 09:58:07 +01:00
commit f3b132d85f

View File

@ -159,10 +159,10 @@ function SetDefaults:init()
callback = function() callback = function()
local fields = {} local fields = {}
for m, n in util.orderedPairs(_G[self.defaults_name[i]]) do for m, n in util.orderedPairs(_G[self.defaults_name[i]]) do
fields[m] = { table.insert(fields, {
text = tostring(m) .. " = " .. tostring(n), text = tostring(m) .. " = " .. tostring(n),
hint = "", hint = "",
} })
end end
self.set_dialog = MultiInputDialog:new{ self.set_dialog = MultiInputDialog:new{
title = self.defaults_name[i] .. ":", title = self.defaults_name[i] .. ":",