diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-07-21 13:37:57 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-07-23 17:43:17 +0200 |
commit | eafbab6ae128dd5b14f145ba9214a6673e982951 (patch) | |
tree | 47cb8bd57501ef2d6da1b1e128ac2c431e4a6553 /resources/qml/Root.qml | |
parent | Rename image pack model (diff) | |
download | nheko-eafbab6ae128dd5b14f145ba9214a6673e982951.tar.xz |
Add menu to enable or disable stickers globally
Diffstat (limited to 'resources/qml/Root.qml')
-rw-r--r-- | resources/qml/Root.qml | 15 |
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 { |