parent
e2fa5b756a
commit
fb558edf61
|
@ -28,6 +28,7 @@ StatusListView {
|
|||
height: 76
|
||||
width: ListView.view.width
|
||||
title: model.name
|
||||
sensor.enabled: false
|
||||
subTitle: qsTr("%n token(s) · Last updated %1 @%2",
|
||||
"",
|
||||
model.tokensCount).arg(LocaleUtils.formatDate(model.updatedAt * 1000)).arg(LocaleUtils.formatTime(model.updatedAt, Locale.ShortFormat))
|
||||
|
|
|
@ -59,10 +59,10 @@ StatusDialog {
|
|||
CustomHeaderDelegate {}
|
||||
}
|
||||
delegate: CustomDelegate {}
|
||||
/* This late binding has been added here because without it all
|
||||
/* This onCompleted has been added here because without it all
|
||||
the items in the list get initialised before the popup is launched
|
||||
creating a delay */
|
||||
Component.onCompleted: model = Qt.binding(() => root.tokensListModel)
|
||||
Component.onCompleted: model = root.tokensListModel
|
||||
}
|
||||
|
||||
header: StatusDialogHeader {
|
||||
|
@ -205,7 +205,6 @@ StatusDialog {
|
|||
id: sensor
|
||||
|
||||
anchors.fill: parent
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
hoverEnabled: true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue