From 83886fbcf18a2d2d88679eaa1acf8dbe61b441ed Mon Sep 17 00:00:00 2001 From: Daniel Pavel Date: Fri, 14 Dec 2012 06:45:31 +0200 Subject: [PATCH] fix device settings being read on every confix box display --- app/ui/config_panel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/ui/config_panel.py b/app/ui/config_panel.py index b1b5b340..77412f23 100644 --- a/app/ui/config_panel.py +++ b/app/ui/config_panel.py @@ -35,8 +35,8 @@ def _process_apply_queue(): GObject.idle_add(_write_start, sbox, priority=0) value = setting.write(value) elif task[0] == 'read': - _, setting, cached, sbox = task - value = setting.read(cached) + _, setting, force_read, sbox = task + value = setting.read(not force_read) GObject.idle_add(_update_setting_item, sbox, value, priority=99) from threading import Thread as _Thread