From 23efa8f8153922e559931591d5ce517430681555 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 1 Mar 2022 01:59:06 +0100 Subject: Fix a few small completer glitches --- resources/qml/Root.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'resources/qml/Root.qml') 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, { -- cgit 1.5.1