diff --git a/ags/widget/control-center/Pages.ts b/ags/widget/control-center/Pages.ts index d7674b8..6382f0b 100644 --- a/ags/widget/control-center/Pages.ts +++ b/ags/widget/control-center/Pages.ts @@ -70,6 +70,7 @@ class Pages extends Widget.Revealer { if(!this.get_child()) return; this.revealChild = false; + this.#page!.onClose?.(); timeout(this.transitionDuration, () => { this.remove(this.#page!); this.page = undefined;