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 # TODO
- right click on rule
- combo box custom item - combo box custom item
- explain pattern - explain pattern
- fix spinbox buttons - fix spinbox buttons

View File

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