From b503ba39dfd013d5c20f3147387a9a6371b8e2b6 Mon Sep 17 00:00:00 2001 From: Raphael <68374617+raphaelscholle@users.noreply.github.com> Date: Sun, 24 Nov 2024 20:03:06 +0100 Subject: [PATCH] Update SideBarMain.qml --- qml/ui/sidebar/SideBarMain.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/ui/sidebar/SideBarMain.qml b/qml/ui/sidebar/SideBarMain.qml index 556d771b8..796dd842b 100644 --- a/qml/ui/sidebar/SideBarMain.qml +++ b/qml/ui/sidebar/SideBarMain.qml @@ -93,7 +93,7 @@ Item { // Called when the sidebar is opened and the user clicked somewhere on the screen where there is no sidebar function notify_sidebar_user_clicked_outside(){ - if(visible){ + if(stack_manager.visible){ console.log("Outside area clicked, closing sidebar"); close(); }