[UX] Download dictionary: keep menu open (#4412)

As suggested by @poire-z in https://github.com/koreader/koreader/pull/4401#issuecomment-447629244
pull/4417/head
Frans de Jonge 5 years ago committed by GitHub
parent c41dfc25dd
commit b21a9efa53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -410,6 +410,7 @@ function ReaderDictionary:_genDownloadDictionariesMenu()
local menu_items = {}
for lang_key, available_langs in ffiUtil.orderedPairs(languages) do
table.insert(menu_items, {
keep_menu_open = true,
text = lang_key,
callback = function()
self:showDownload(available_langs)

Loading…
Cancel
Save