From f0b2d58342689cb08611aa5b4abd0f11d4649c10 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Wed, 6 Nov 2019 21:02:27 +0100 Subject: [PATCH] Revert "Fix frozen confirmbox when keyboard shown (#5452)" (#5574) This reverts commit 513fd807b076ea499623d2082b8f551a3119d583. --- frontend/ui/uimanager.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/ui/uimanager.lua b/frontend/ui/uimanager.lua index 623389e42..26ff2a770 100644 --- a/frontend/ui/uimanager.lua +++ b/frontend/ui/uimanager.lua @@ -694,12 +694,10 @@ function UIManager:sendEvent(event) if active_widget:handleEvent(event) then return end end end - if widget.widget.is_always_active or widget.widget.modal then + if widget.widget.is_always_active then -- active widgets will handle this event -- Note: is_always_active widgets currently are widgets that want to show a keyboard -- and readerconfig - -- By default modal widgets are always on top but if there is more than one modal - -- widget, only last one will be top_widget. e.g. keyboard and confirmbox. checked_widgets[widget] = true if widget.widget:handleEvent(event) then return end end