Skip to content

Commit 2868f91

Browse files
committed
Include camera ID in unknown camera label
Update the fallback camera display name to include the camera ID (`Unknown camera [<id>]`) instead of a generic `Unknown camera`, making unidentified cameras easier to distinguish in the UI.
1 parent e73968a commit 2868f91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎dlclivegui/gui/main_window.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1546,7 +1546,7 @@ def _label_for_cam_id(self, cam_id: str) -> str:
15461546
if display_id:
15471547
return display_id
15481548

1549-
return "Unknown camera"
1549+
return f"Unknown camera [{cam_id}]"
15501550

15511551
def _refresh_dlc_camera_list_running(self) -> None:
15521552
"""Populate inference camera dropdown from currently running cameras.

0 commit comments

Comments
 (0)