mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
MultiDialog: Fix an extremely nasty API misuse
Stuff was poking at the class object, not the instance's :s. Fix #9599
This commit is contained in:
@@ -652,7 +652,7 @@ function ReaderFooter:set_custom_text(touchmenu_instance)
|
||||
{
|
||||
text = _("Set"),
|
||||
callback = function()
|
||||
local inputs = MultiInputDialog:getFields()
|
||||
local inputs = text_dialog:getFields()
|
||||
local new_text, new_repetitions = inputs[1], inputs[2]
|
||||
if new_text == "" then
|
||||
new_text = " "
|
||||
|
||||
Reference in New Issue
Block a user