From 53cba484fb033b5fc004dd1e9e9555360467928b Mon Sep 17 00:00:00 2001 From: Bart De Vries Date: Sat, 8 May 2021 16:20:06 +0200 Subject: [PATCH] Only show subtitle in header if it's not empty --- src/qml/GenericHeader.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qml/GenericHeader.qml b/src/qml/GenericHeader.qml index fc6a3dca..45c4eb17 100644 --- a/src/qml/GenericHeader.qml +++ b/src/qml/GenericHeader.qml @@ -81,6 +81,7 @@ Item { } Controls.Label { Layout.fillWidth: true + visible: subtitle !== "" text: subtitle fontSizeMode: Text.Fit font.pointSize: 12