Open settings popup on pushrule delegate click

This commit is contained in:
miruka 2021-02-22 11:43:51 -04:00
parent 8c4e5deb66
commit e8b8509d22
2 changed files with 6 additions and 5 deletions

View File

@ -1,6 +1,5 @@
# TODO
- right click on rule
- combo box custom item
- explain pattern
- fix spinbox buttons

View File

@ -95,11 +95,13 @@ HTile {
NotificationRuleButton {
icon.name: "pushrule-edit"
onClicked: root.clicked()
}
}
}
onClicked: window.makePopup(
"Popups/PushRuleSettingsPopup/PushRuleSettingsPopup.qml",
{userId: page.userId, rule: model},
)
}
}
}
}