Match to app display PIN option
This commit is contained in:
parent
22a5953624
commit
c2a27847cb
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ DockItem {
|
||||||
|
|
||||||
MenuItem {
|
MenuItem {
|
||||||
text: model.isPinned ? qsTr("Unpin") : qsTr("Pin")
|
text: model.isPinned ? qsTr("Unpin") : qsTr("Pin")
|
||||||
|
visible: model.desktopFile !== ""
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
model.isPinned ? appModel.unPin(model.appId) : appModel.pin(model.appId)
|
model.isPinned ? appModel.unPin(model.appId) : appModel.pin(model.appId)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue