From 2c701d92d2f58ba390140c9c317d0416d0b5af34 Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Thu, 21 Nov 2024 10:07:13 +0100 Subject: [PATCH] Fix drawer animation when drawer is open and the user clicks on the main navigation --- ScreenPlay/qml/Installed/InstalledView.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ScreenPlay/qml/Installed/InstalledView.qml b/ScreenPlay/qml/Installed/InstalledView.qml index 82b638f2..7d4e9199 100644 --- a/ScreenPlay/qml/Installed/InstalledView.qml +++ b/ScreenPlay/qml/Installed/InstalledView.qml @@ -32,6 +32,11 @@ Item { navWrapper.visible = true; } } + StackView.onStatusChanged: { + if (StackView.status == StackView.Deactivating) { + installedDrawer.close(); + } + } InstalledDrawer { id: installedDrawer