Hide subtitle when not defined

This commit is contained in:
2025-11-25 18:33:25 +02:00
parent 15f4f2531f
commit d27fe9f2ec

View File

@@ -19,6 +19,7 @@ ItemDelegate {
font.pixelSize: titleLabel.font.pixelSize - 2 font.pixelSize: titleLabel.font.pixelSize - 2
text: root.subtitle text: root.subtitle
opacity: 0.8 opacity: 0.8
visible: Boolean(text)
} }
} }
} }