qml: TxDetails don't show or allow edit of label for unrelated tx
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user