fix regression #5092 after be7661a83

This commit is contained in:
Andrej730
2024-07-27 15:22:21 +05:00
parent 4abcbbb4f9
commit 168718063f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -974,7 +974,7 @@ class BIM_OT_show_description(bpy.types.Operator):
layout.label(text=line)
if self.url:
url_op = layout.operator("bim.open_uri", icon="URL", text="Online IFC Documentation")
url_op.url = self.url
url_op.uri = self.url
@classmethod
def description(cls, context, properties):
+1 -1
View File
@@ -1111,4 +1111,4 @@ def draw_custom_context_menu(self, context):
if url:
layout.separator()
url_op = layout.operator("bim.open_uri", icon="URL", text="Online IFC Documentation")
url_op.url = url
url_op.uri = url