Chore/add object name rename keypair item (#14807)
* chore: add object name for rename keypair menu item * chore: add object name save changes in rename keypair popup
This commit is contained in:
parent
27bfe22af0
commit
e9127f9cd7
|
@ -140,6 +140,7 @@ StatusModal {
|
||||||
},
|
},
|
||||||
StatusButton {
|
StatusButton {
|
||||||
text: qsTr("Save changes")
|
text: qsTr("Save changes")
|
||||||
|
objectName: "saveRenameKeypairChangesButton"
|
||||||
enabled: d.entryValid
|
enabled: d.entryValid
|
||||||
focus: true
|
focus: true
|
||||||
Keys.onReturnPressed: function(event) {
|
Keys.onReturnPressed: function(event) {
|
||||||
|
|
|
@ -80,6 +80,7 @@ StatusMenu {
|
||||||
|
|
||||||
StatusAction {
|
StatusAction {
|
||||||
text: enabled? qsTr("Rename keypair") : ""
|
text: enabled? qsTr("Rename keypair") : ""
|
||||||
|
objectName: "renameKeypairMenuItem"
|
||||||
enabled: !!root.keyPair &&
|
enabled: !!root.keyPair &&
|
||||||
root.keyPair.pairType !== Constants.keypair.type.profile
|
root.keyPair.pairType !== Constants.keypair.type.profile
|
||||||
icon.name: "edit"
|
icon.name: "edit"
|
||||||
|
|
Loading…
Reference in New Issue