summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2023-07-23 21:20:01 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2023-09-23 22:19:14 -0400
commit9bd29c9713819a25359f2587147854e24f42b8ce (patch)
treec45bddb8604cc912af8fdaffa60d5dfc3f64fc3e /resources
parentUpdate mtxclient to work around empty event types (diff)
downloadnheko-9bd29c9713819a25359f2587147854e24f42b8ce.tar.xz
Allow configuring global hidden event settings
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/pages/UserSettingsPage.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/resources/qml/pages/UserSettingsPage.qml b/resources/qml/pages/UserSettingsPage.qml
index f23095b6..8cb6ecb7 100644
--- a/resources/qml/pages/UserSettingsPage.qml
+++ b/resources/qml/pages/UserSettingsPage.qml
@@ -216,6 +216,24 @@ Rectangle {
                             }
                         }
                         DelegateChoice {
+                            roleValue: UserSettingsModel.ConfigureHiddenEvents
+                            Button {
+                                text: qsTr("CONFIGURE")
+                                onClicked: {
+                                    var dialog = hiddenEventsDialog.createObject();
+                                    dialog.show();
+                                    destroyOnClose(dialog);
+                                }
+
+                                Component {
+                                    id: hiddenEventsDialog
+
+                                    HiddenEventsDialog {}
+                                }
+                            }
+                        }
+
+                        DelegateChoice {
                             Text {
                                 text: model.value
                             }