Skip to content

Commit

Permalink
Fix ethernet ip address not showing (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
jziolkowski authored Sep 21, 2024
1 parent e911924 commit 535633b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tdmgr/models/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ def data(self, idx, role=Qt.DisplayRole):
if col_name == "RSSI":
return int(d.p.get("RSSI", 0))

if col_name == "IPAddress":
return d.ip_address

return val

if role == DeviceRoles.LWTRole:
Expand Down

0 comments on commit 535633b

Please sign in to comment.