fix(quickshell): fix qs crashing when sidebar is detached while in use (#3069)

This commit is contained in:
Minh
2026-03-03 18:20:31 +01:00
committed by GitHub
@@ -67,6 +67,7 @@ Scope { // Scope
onDetachChanged: {
if (root.detach) {
GlobalFocusGrab.removeDismissable(sidebarLoader.item) // Remove sidebar from the focus grab system
sidebarContent.parent = null; // Detach content from sidebar
sidebarLoader.active = false; // Unload sidebar
detachedSidebarLoader.active = true; // Load detached window