Make xpointers migration ConfirmBox non-dismissable (#5931)

Because dismissing it by tapping outside would have
"not for this book" selected, which is the least
welcome action.
pull/5935/head
poire-z 4 years ago committed by GitHub
parent 1d58eb8b6c
commit c1f19e943a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1276,6 +1276,10 @@ Note that %1 (out of %2) xpaths from your bookmarks and highlights have been nor
UIManager:show(ConfirmBox:new{
text = text,
-- Given the layout of the buttons (Cancel|OK, and a big other button below
-- with "Not now"), we don't want cancel_callback to be called when dismissing
-- this ConfirmBox by taping outside. So, make it non dismissable.
dismissable = false,
other_buttons = {{
{
-- this is the real cancel/do nothing

Loading…
Cancel
Save