fix(@wallet): Rename edit watch address

fixes #12623
This commit is contained in:
Anthony Laibe 2023-12-08 09:41:39 +01:00
parent c688525f0b
commit f1c090a765
1 changed files with 2 additions and 2 deletions

View File

@ -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()