diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-07-08 17:28:28 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-07-08 17:28:28 +0200 |
commit | 931855441a12b328afc0aecc1464af927199808b (patch) | |
tree | 38248e3f7eb1790e9f8bb7aaefb88c4584466808 /resources/qml/Root.qml | |
parent | Fix users with @room in the name pinging the whole room when replied to (diff) | |
download | nheko-931855441a12b328afc0aecc1464af927199808b.tar.xz |
Allow editing aliases
Diffstat (limited to 'resources/qml/Root.qml')
-rw-r--r-- | resources/qml/Root.qml | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml index 1ea26742..7cc41db9 100644 --- a/resources/qml/Root.qml +++ b/resources/qml/Root.qml @@ -55,13 +55,28 @@ Pane { } - function showPLEditor(settings) { - var dialog = plEditor.createObject(timelineRoot, { - "roomSettings": settings - }); - dialog.show(); - destroyOnClose(dialog); + function showAliasEditor(settings) { + var dialog = aliasEditor.createObject(timelineRoot, { + "roomSettings": settings + }); + dialog.show(); + destroyOnClose(dialog); + } + + Component { + id: aliasEditor + + AliasEditor { } + } + + function showPLEditor(settings) { + var dialog = plEditor.createObject(timelineRoot, { + "roomSettings": settings + }); + dialog.show(); + destroyOnClose(dialog); + } Component { id: plEditor |