From 54ab3673baa2bc3e894bf08f2ec6f726e04ba983 Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Thu, 20 Apr 2023 11:02:46 +0200 Subject: [PATCH] qml: TxDetails don't show or allow edit of label for unrelated tx --- electrum/gui/qml/components/TxDetails.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/electrum/gui/qml/components/TxDetails.qml b/electrum/gui/qml/components/TxDetails.qml index eb58dfb58..8531b2175 100644 --- a/electrum/gui/qml/components/TxDetails.qml +++ b/electrum/gui/qml/components/TxDetails.qml @@ -166,6 +166,7 @@ Pane { Label { Layout.columnSpan: 2 Layout.topMargin: constants.paddingSmall + visible: !txdetails.isUnrelated text: qsTr('Label') color: Material.accentColor } @@ -178,6 +179,8 @@ Pane { Layout.columnSpan: 2 Layout.fillWidth: true + visible: !txdetails.isUnrelated + RowLayout { width: parent.width Label {