Commit 9c303fee authored by Nate Graham's avatar Nate Graham
Browse files

plasmoid: Don't show redundant configure button in placeholder message

It's not really needed.

BUG: 448457
parent 21b2f53b
Pipeline #123560 passed with stage
in 2 minutes and 9 seconds
......@@ -49,10 +49,10 @@ PlasmaExtras.Representation {
}
}
helpfulAction: Action {
text: pairedDevicesModel.count == 0 ? i18n("Pair a Device...") : i18n("Configure...")
icon.name: pairedDevicesModel.count == 0 ? "list-add" : "configure"
text: i18n("Pair a Device...")
icon.name: "list-add"
onTriggered: KdeConnect.DaemonDbusInterface.openConfiguration()
enabled: KCMShell.authorize("kcm_kdeconnect.desktop").length > 0
enabled: pairedDevicesModel.count == 0 && KCMShell.authorize("kcm_kdeconnect.desktop").length > 0
}
PlasmaComponents3.Button {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment