kcms/scripts: Set text of Delete action correctly
Fixes missing text on the menu item in ActionToolBar's menu.
This commit is contained in:
parent
c7ccf91d92
commit
899bef4126
1 changed files with 3 additions and 1 deletions
|
@ -62,7 +62,9 @@ KCMUtils.ScrollViewKCM {
|
|||
Kirigami.Action {
|
||||
enabled: kcm.canDeleteEntry(model.metaData)
|
||||
icon.name: kcm.pendingDeletions.indexOf(model.metaData) === -1 ? "delete" : "edit-undo"
|
||||
tooltip: i18nc("@info:tooltip", "Delete…")
|
||||
text: i18nc("@info:tooltip", "Delete…")
|
||||
displayHint: Kirigami.DisplayHint.IconOnly
|
||||
|
||||
onTriggered: kcm.togglePendingDeletion(model.metaData)
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue