summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2023-10-01 12:57:53 +0000
committerGitHub <noreply@github.com>2023-10-01 12:57:53 +0000
commit214e3186ca4f333bc18ffaa60713659d901c0881 (patch)
tree8eb60649ab7889f34c2993b27a7e506cc6207b35 /resources/qml
parentMerge pull request #1534 from Nheko-Reborn/issue1494 (diff)
parentAllow configuring global hidden event settings (diff)
downloadnheko-214e3186ca4f333bc18ffaa60713659d901c0881.tar.xz
Merge pull request #1537 from Nheko-Reborn/issue1426
Allow configuring global hidden event settings
Diffstat (limited to 'resources/qml')
-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 80e43ce3..97ee7c27 100644
--- a/resources/qml/pages/UserSettingsPage.qml
+++ b/resources/qml/pages/UserSettingsPage.qml
@@ -215,6 +215,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
                             }