on xenial help sign in
Fix autopilot test
commit164cbbe0a4046716368b82a152e797d3e8d20456 authorAlbert Astals <albert.astals@canonical.com> dateWed 16 Apr 2014, 11:38 (13 years ago) parent2f0b72b
1 file changed+2−1
qml/Dash/Card.qml+2−1
qml/Dash/Card.qml+2−1
@@ -29,6 +29,7 @@ AbstractButton {
2929 property int headerAlignment: Text.AlignLeft
3030 readonly property int headerHeight: headerLoader.item ? headerLoader.item.height : 0
3131 property int fixedHeaderHeight: -1
32+ readonly property string title: cardData && cardData["title"] || ""
3233
3334 property bool showHeader: true
3435
@@ -196,7 +197,7 @@ AbstractButton {
196197 objectName: "cardHeader"
197198
198199 mascot: cardData && cardData["mascot"] || ""
199− title: cardData && cardData["title"] || ""
200+ title: root.title
200201 subtitle: cardData && cardData["subtitle"] || ""
201202
202203 titleWeight: components && components["subtitle"] ? Font.DemiBold : Font.Normal