Hide subtitle when not defined
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user