summary refs log tree commit diff
path: root/resources/qml/Root.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-07-21 13:37:57 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-07-23 17:43:17 +0200
commiteafbab6ae128dd5b14f145ba9214a6673e982951 (patch)
tree47cb8bd57501ef2d6da1b1e128ac2c431e4a6553 /resources/qml/Root.qml
parentRename image pack model (diff)
downloadnheko-eafbab6ae128dd5b14f145ba9214a6673e982951.tar.xz
Add menu to enable or disable stickers globally
Diffstat (limited to 'resources/qml/Root.qml')
-rw-r--r--resources/qml/Root.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml
index 8e226639..1793d9bc 100644
--- a/resources/qml/Root.qml
+++ b/resources/qml/Root.qml
@@ -4,6 +4,7 @@
 
 import "./delegates"
 import "./device-verification"
+import "./dialogs"
 import "./emoji"
 import "./voip"
 import Qt.labs.platform 1.1 as Platform
@@ -87,6 +88,14 @@ Page {
 
     }
 
+    Component {
+        id: packSettingsComponent
+
+        ImagePackSettingsDialog {
+        }
+
+    }
+
     Shortcut {
         sequence: "Ctrl+K"
         onActivated: {
@@ -120,6 +129,12 @@ Page {
             });
             userProfile.show();
         }
+        onShowImagePackSettings: {
+            var packSet = packSettingsComponent.createObject(timelineRoot, {
+                "packlist": packlist
+            });
+            packSet.show();
+        }
     }
 
     Connections {