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

This is a small fix that removes the left sidebar from the focus grab system before destroying the panel.
This commit is contained in:
3N1GM4.ExE
2026-03-03 17:50:39 +01:00
committed by GitHub
parent 33bd04200a
commit 65eeea7ffa
@@ -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