set also if field empty

This commit is contained in:
piotr
2022-01-25 02:35:38 +01:00
parent 78e8cfe1af
commit f6a6bf5989

View File

@@ -2105,8 +2105,7 @@ class EditorWrapper(object):
if "brightness" in settings["components"]:
settings["components"].remove("brightness")
if self.ctrl_backlight_device.get_text():
settings["backlight-device"] = self.ctrl_backlight_device.get_text()
settings["backlight-device"] = self.ctrl_backlight_device.get_text()
if self.ctrl_comp_volume.get_active():
if "volume" not in settings["components"]: