Commit 3d8cb4bf authored by Linus Jahn's avatar Linus Jahn
Browse files

roster: Open and close sheet on 'add contact' action

This also allows the user to close the sheet by pressing the 'add
contact' action again.
parent 35823097
......@@ -54,9 +54,11 @@ Kirigami.ScrollablePage {
mainAction: Kirigami.Action {
text: qsTr("Add new contact")
iconName: "contact-new"
enabled: !addContactSheet.sheetOpen
onTriggered: {;
if (addContactSheet.sheetOpen)
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