ui: turn off write-backs for values obtained from device

This commit is contained in:
Peter F. Patel-Schneider 2020-07-15 17:36:47 -04:00
parent bc6b1de472
commit 4ce2abca0a
1 changed files with 1 additions and 0 deletions

View File

@ -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)