Show message when clicking add commands

Summary: It isn't obvious what happens when clicking the add commands action. Show a message.

Reviewers: #kde_connect, apol

Reviewed By: #kde_connect, apol

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D16549
This commit is contained in:
Nicolas Fella 2018-10-31 16:56:02 +01:00
parent 6800854fd3
commit 2a8938e09f

View file

@ -33,7 +33,10 @@ Kirigami.Page
actions.main: Kirigami.Action {
icon.name: "document-edit"
text: i18n("Edit commands")
onTriggered: pluginInterface.editCommands()
onTriggered: {
pluginInterface.editCommands();
showPassiveNotification(i18n("You can edit commands on the connected device"));
}
}
ListView {