parent
c688525f0b
commit
f1c090a765
|
@ -77,7 +77,7 @@ ColumnLayout {
|
||||||
StatusButton {
|
StatusButton {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
objectName: "walletAccountViewEditAccountButton"
|
objectName: "walletAccountViewEditAccountButton"
|
||||||
text: qsTr("Edit account")
|
text: d.watchOnlyAccount ? qsTr("Edit watched address") : qsTr("Edit account")
|
||||||
icon.name: "edit_pencil"
|
icon.name: "edit_pencil"
|
||||||
onClicked: Global.openPopup(renameAccountModalComponent)
|
onClicked: Global.openPopup(renameAccountModalComponent)
|
||||||
}
|
}
|
||||||
|
@ -295,7 +295,7 @@ ColumnLayout {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
objectName: "deleteAccountButton"
|
objectName: "deleteAccountButton"
|
||||||
visible: !!root.account && !root.account.isDefaultAccount
|
visible: !!root.account && !root.account.isDefaultAccount
|
||||||
text: qsTr("Remove account")
|
text: d.watchOnlyAccount ? qsTr("Remove watched address") : qsTr("Remove account")
|
||||||
icon.name: "delete"
|
icon.name: "delete"
|
||||||
type: StatusBaseButton.Type.Danger
|
type: StatusBaseButton.Type.Danger
|
||||||
onClicked: confirmationPopup.open()
|
onClicked: confirmationPopup.open()
|
||||||
|
|
Loading…
Reference in New Issue