mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
close keyboard after calling search with preset
This commit is contained in:
@@ -921,6 +921,7 @@ function ReaderDictionary:onShowDictionaryLookup()
|
||||
buttons = dialog_buttons,
|
||||
shrink_unneeded_width = true,
|
||||
}
|
||||
self.dictionary_lookup_dialog:onCloseKeyboard()
|
||||
UIManager:show(button_dialog)
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -1490,6 +1490,7 @@ function DictQuickLookup:onLookupInputWord(hint)
|
||||
buttons = dialog_buttons,
|
||||
shrink_unneeded_width = true,
|
||||
}
|
||||
self.input_dialog:onCloseKeyboard()
|
||||
UIManager:show(button_dialog)
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user