From f9fef4f5f63ea0501de13bbb75968f4759085234 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Fri, 8 Dec 2023 16:35:46 +1100 Subject: [PATCH] Fix #4085. Classification reference URIs now have a button you can jump to that link. --- src/blenderbim/blenderbim/bim/module/classification/ui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/blenderbim/blenderbim/bim/module/classification/ui.py b/src/blenderbim/blenderbim/bim/module/classification/ui.py index 9cc7a970a0..5c828c4d26 100644 --- a/src/blenderbim/blenderbim/bim/module/classification/ui.py +++ b/src/blenderbim/blenderbim/bim/module/classification/ui.py @@ -239,6 +239,8 @@ class ReferenceUI: name = reference["Identification"] or "No Identification" row.label(text=name, icon="ASSET_MANAGER") row.label(text=reference["Name"] or "") + if reference["Location"]: + row.operator("bim.open_uri", icon="URL", text="").uri = reference["Location"] if not self.props.active_reference_id: op = row.operator("bim.enable_editing_classification_reference", text="", icon="GREASEPENCIL") op.reference = reference["id"]