ui: turn off write-backs for values obtained from device
This commit is contained in:
parent
bc6b1de472
commit
4ce2abca0a
|
@ -238,6 +238,7 @@ def _update_setting_item(sbox, value, is_online=True):
|
|||
failed.set_visible(is_online)
|
||||
return
|
||||
|
||||
control.set_sensitive(False)
|
||||
failed.set_visible(False)
|
||||
if isinstance(control, Gtk.Switch):
|
||||
control.set_active(value)
|
||||
|
|
Loading…
Reference in New Issue