diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-03-01 01:59:06 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-03-01 02:33:22 +0100 |
commit | 23efa8f8153922e559931591d5ce517430681555 (patch) | |
tree | 4318ccabde5105fd8d09c2b8c51b68c57dc467b1 /resources/qml/Root.qml | |
parent | Remove stray logging (diff) | |
download | nheko-23efa8f8153922e559931591d5ce517430681555.tar.xz |
Fix a few small completer glitches
Diffstat (limited to '')
-rw-r--r-- | resources/qml/Root.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml index 33ffee3d..14e6770b 100644 --- a/resources/qml/Root.qml +++ b/resources/qml/Root.qml @@ -173,7 +173,7 @@ Pane { onActivated: { var quickSwitch = quickSwitcherComponent.createObject(timelineRoot); quickSwitch.open(); - destroyOnClose(quickSwitch); + destroyOnClosed(quickSwitch); } } @@ -225,6 +225,10 @@ Pane { obj.closing.connect(() => obj.destroy()); } + function destroyOnClosed(obj) { + obj.closed.connect(() => obj.destroy()); + } + Connections { function onOpenProfile(profile) { var userProfile = userProfileComponent.createObject(timelineRoot, { |