qml: change object name for account actions
This commit is contained in:
parent
736075b817
commit
ea31d1115f
|
@ -21,7 +21,7 @@ StatusMenu {
|
||||||
|
|
||||||
StatusSuccessAction {
|
StatusSuccessAction {
|
||||||
id: copyAddressAction
|
id: copyAddressAction
|
||||||
objectName: "AccountMenu-CopyAddressAction-%1".arg(root.uniqueIdentifier)
|
objectName: "AccountMenu-CopyAddressAction_" + root.account.name
|
||||||
successText: qsTr("Address copied")
|
successText: qsTr("Address copied")
|
||||||
text: qsTr("Copy address")
|
text: qsTr("Copy address")
|
||||||
icon.name: "copy"
|
icon.name: "copy"
|
||||||
|
@ -35,7 +35,7 @@ StatusMenu {
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusAction {
|
StatusAction {
|
||||||
objectName: "AccountMenu-EditAction-%1".arg(root.uniqueIdentifier)
|
objectName: "AccountMenu-EditAction_" + root.account.name
|
||||||
enabled: !!root.account
|
enabled: !!root.account
|
||||||
text: qsTr("Edit")
|
text: qsTr("Edit")
|
||||||
icon.name: "pencil-outline"
|
icon.name: "pencil-outline"
|
||||||
|
@ -45,7 +45,7 @@ StatusMenu {
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusAction {
|
StatusAction {
|
||||||
objectName: "AccountMenu-HideFromTotalBalance-%1".arg(root.uniqueIdentifier)
|
objectName: "AccountMenu-HideFromTotalBalance_" + root.account.name
|
||||||
enabled: !!root.account && root.account.walletType === Constants.watchWalletType
|
enabled: !!root.account && root.account.walletType === Constants.watchWalletType
|
||||||
text: !!root.account ? root.account.hideFromTotalBalance ? qsTr("Include in balances and activity")
|
text: !!root.account ? root.account.hideFromTotalBalance ? qsTr("Include in balances and activity")
|
||||||
: qsTr("Exclude from balances and activity") : ""
|
: qsTr("Exclude from balances and activity") : ""
|
||||||
|
@ -54,7 +54,7 @@ StatusMenu {
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusAction {
|
StatusAction {
|
||||||
objectName: "AccountMenu-DeleteAction-%1".arg(root.uniqueIdentifier)
|
objectName: "AccountMenu-DeleteAction_" + root.account.name
|
||||||
enabled: !!root.account && !root.account.isWallet
|
enabled: !!root.account && !root.account.isWallet
|
||||||
text: qsTr("Delete")
|
text: qsTr("Delete")
|
||||||
icon.name: "info"
|
icon.name: "info"
|
||||||
|
@ -65,7 +65,7 @@ StatusMenu {
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusAction {
|
StatusAction {
|
||||||
objectName: "AccountMenu-AddNewAccountAction-%1".arg(root.uniqueIdentifier)
|
objectName: "AccountMenu-AddNewAccountAction_" + root.account.name
|
||||||
text: qsTr("Add new account")
|
text: qsTr("Add new account")
|
||||||
enabled: !root.account
|
enabled: !root.account
|
||||||
icon.name: "add"
|
icon.name: "add"
|
||||||
|
@ -77,7 +77,7 @@ StatusMenu {
|
||||||
Loader {
|
Loader {
|
||||||
active: !production
|
active: !production
|
||||||
sourceComponent: StatusAction {
|
sourceComponent: StatusAction {
|
||||||
objectName: "AccountMenu-AddWatchOnlyAccountAction-%1".arg(root.uniqueIdentifier)
|
objectName: "AccountMenu-AddWatchOnlyAccountAction_" + root.account.name
|
||||||
text: qsTr("Add watched address")
|
text: qsTr("Add watched address")
|
||||||
enabled: !root.account
|
enabled: !root.account
|
||||||
icon.name: "show"
|
icon.name: "show"
|
||||||
|
|
Loading…
Reference in New Issue