From db34efd333e4d454d38eb908e21e4ddf1f4ee27f Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Tue, 7 Feb 2023 10:35:34 +0100 Subject: [PATCH] qml: silence undefined property errors when not really used --- electrum/gui/qml/components/History.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/electrum/gui/qml/components/History.qml b/electrum/gui/qml/components/History.qml index 17b7a2247..f8c6d0f8f 100644 --- a/electrum/gui/qml/components/History.qml +++ b/electrum/gui/qml/components/History.qml @@ -131,7 +131,9 @@ Pane { Label { id: postext anchors.centerIn: parent - text: listview.itemAt(0,listview.contentY + (dragb.y + dragb.height/2)).delegateModel.date + text: dragb.opacity + ? listview.itemAt(0,listview.contentY + (dragb.y + dragb.height/2)).delegateModel.date + : '' font.pixelSize: constants.fontSizeLarge } }