left sidebar: consider closed when floating window is closed

This commit is contained in:
end-4
2025-09-28 12:05:42 +02:00
parent 05dc53b396
commit 6031bb4953
@@ -127,8 +127,12 @@ Scope { // Scope
sourceComponent: FloatingWindow {
id: detachedSidebarRoot
visible: GlobalStates.sidebarLeftOpen
property var contentParent: detachedSidebarBackground
visible: GlobalStates.sidebarLeftOpen
onVisibleChanged: {
if (!visible) GlobalStates.sidebarLeftOpen = false;
}
Rectangle {
id: detachedSidebarBackground