From 09773bc2d8757fc6995412f493220df88ecc205c Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Mon, 18 Sep 2023 20:28:52 -0400 Subject: [PATCH] ui: update codename when device status changes --- lib/solaar/ui/window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/solaar/ui/window.py b/lib/solaar/ui/window.py index 1772a9654..63682f0b2 100644 --- a/lib/solaar/ui/window.py +++ b/lib/solaar/ui/window.py @@ -915,6 +915,8 @@ def update_device(device, item, selected_device_id, need_popup, full=False): icon_name = _icons.battery(battery_level, charging) _model.set_value(item, _COLUMN.STATUS_ICON, icon_name) + _model.set_value(item, _COLUMN.NAME, device.codename) + if selected_device_id is None or need_popup: select(device.receiver.path if device.receiver else device.path, device.number) elif selected_device_id == (device.receiver.path if device.receiver else device.path, device.number):