plasmoid: Don't show redundant configure button in placeholder message
It's not really needed. BUG: 448457
This commit is contained in:
parent
21b2f53b22
commit
9c303fee79
1 changed files with 3 additions and 3 deletions
|
@ -49,10 +49,10 @@ PlasmaExtras.Representation {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
helpfulAction: Action {
|
helpfulAction: Action {
|
||||||
text: pairedDevicesModel.count == 0 ? i18n("Pair a Device...") : i18n("Configure...")
|
text: i18n("Pair a Device...")
|
||||||
icon.name: pairedDevicesModel.count == 0 ? "list-add" : "configure"
|
icon.name: "list-add"
|
||||||
onTriggered: KdeConnect.DaemonDbusInterface.openConfiguration()
|
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 {
|
PlasmaComponents3.Button {
|
||||||
|
|
Loading…
Reference in a new issue