mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
commit
f3b132d85f
@ -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] .. ":",
|
||||||
|
Loading…
Reference in New Issue
Block a user