diff --git a/tools/lsp/ui/views/property-view.slint b/tools/lsp/ui/views/property-view.slint index 2cb9da5b82e..ac0e8378870 100644 --- a/tools/lsp/ui/views/property-view.slint +++ b/tools/lsp/ui/views/property-view.slint @@ -124,7 +124,7 @@ export component PropertyView { in property current-element <=> Api.current-element; property key-width: self.width / 2.5; - property element-loaded: root.current-element.type-name != ""; + property element-loaded: root.current-element.properties.length > 0; width: EditorSizeSettings.property-bar-width;