From c2a27847cbba1087c61800be7e886d200c7aa361 Mon Sep 17 00:00:00 2001 From: cutefishd Date: Sun, 11 Apr 2021 18:24:23 +0800 Subject: [PATCH] Match to app display PIN option --- qml/AppItem.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/qml/AppItem.qml b/qml/AppItem.qml index 5a7130c..bad8ca8 100644 --- a/qml/AppItem.qml +++ b/qml/AppItem.qml @@ -54,6 +54,7 @@ DockItem { MenuItem { text: model.isPinned ? qsTr("Unpin") : qsTr("Pin") + visible: model.desktopFile !== "" onTriggered: { model.isPinned ? appModel.unPin(model.appId) : appModel.pin(model.appId) }