From 445926ab1c65a1fd4911ea29f2a06d2faa49d595 Mon Sep 17 00:00:00 2001 From: poire-z Date: Fri, 17 Nov 2017 13:44:13 +0100 Subject: [PATCH] Fix live refresh when changing pdf contrast nextTick somehow prevented a full refresh of the screen scheduleIn, as used by other widgets, makes that ok --- frontend/ui/widget/configdialog.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/ui/widget/configdialog.lua b/frontend/ui/widget/configdialog.lua index 75d03b1d2..1b4a4d32c 100644 --- a/frontend/ui/widget/configdialog.lua +++ b/frontend/ui/widget/configdialog.lua @@ -437,7 +437,7 @@ function ConfigOption:init() num_buttons = #self.options[c].values, position = self.options[c].default_pos, callback = function(arg) - UIManager:nextTick(function() + UIManager:scheduleIn(0.05, function() self.config:onConfigChoice(self.options[c].name, self.options[c].values[arg]) self.config:onConfigEvent(self.options[c].event, self.options[c].args[arg]) UIManager:setDirty("all")