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(); }