mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
hide "no object selected" label when there are no linked ifc files
This commit is contained in:
@@ -318,9 +318,10 @@ class BIM_PT_links(Panel):
|
||||
row = self.layout.row(align=True)
|
||||
row.label(text="Object Culling Enabled", icon="MOD_TRIANGULATE")
|
||||
|
||||
if not LinksData.linked_data:
|
||||
row = self.layout.row(align=True)
|
||||
row.label(text="No Object Selected", icon="QUESTION")
|
||||
if not LinksData.linked_data or not self.props.links:
|
||||
if self.props.links:
|
||||
row = self.layout.row(align=True)
|
||||
row.label(text="No Object Selected", icon="QUESTION")
|
||||
return
|
||||
|
||||
row = self.layout.row(align=True)
|
||||
|
||||
Reference in New Issue
Block a user