1
0

qml: TxDetails don't show or allow edit of label for unrelated tx

This commit is contained in:
Sander van Grieken
2023-04-20 11:02:46 +02:00
parent 3b7fa89e44
commit 54ab3673ba

View File

@@ -166,6 +166,7 @@ Pane {
Label { Label {
Layout.columnSpan: 2 Layout.columnSpan: 2
Layout.topMargin: constants.paddingSmall Layout.topMargin: constants.paddingSmall
visible: !txdetails.isUnrelated
text: qsTr('Label') text: qsTr('Label')
color: Material.accentColor color: Material.accentColor
} }
@@ -178,6 +179,8 @@ Pane {
Layout.columnSpan: 2 Layout.columnSpan: 2
Layout.fillWidth: true Layout.fillWidth: true
visible: !txdetails.isUnrelated
RowLayout { RowLayout {
width: parent.width width: parent.width
Label { Label {