From 4462380048fb92788a017829e372b6f570038172 Mon Sep 17 00:00:00 2001 From: poire-z Date: Sat, 2 Nov 2019 02:30:12 +0100 Subject: [PATCH] Wikipedia lookup results: fix page turning when image loading (#5560) Tapping to turn page while some image is loading was interrupting the image loading, but not turning the page, since a82d7832 where using trap_widget=false is to be used to not resend the event (while =nil does resend it). --- frontend/ui/wikipedia.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/ui/wikipedia.lua b/frontend/ui/wikipedia.lua index 4e94f56d2..813476385 100644 --- a/frontend/ui/wikipedia.lua +++ b/frontend/ui/wikipedia.lua @@ -421,7 +421,7 @@ local function image_load_bb_func(image, highres) -- We use an invisible widget that will resend the dismiss event, -- so that image loading in TextBoxWdiget is unobtrusive and -- interruptible - trap_widget = false + trap_widget = nil source = image.source else -- We need to let the user know image loading is happening,