From f054958f6f2ba1f29ecb979ed49a03e4af70a5ae Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Wed, 23 Apr 2025 17:48:51 -0300 Subject: [PATCH] :boom: ags(control-center/tiles): don't close page on ::destroy signal --- ags/widget/control-center/Tiles.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ags/widget/control-center/Tiles.ts b/ags/widget/control-center/Tiles.ts index 9fb06aa..364db79 100644 --- a/ags/widget/control-center/Tiles.ts +++ b/ags/widget/control-center/Tiles.ts @@ -38,10 +38,7 @@ export function Tiles(): Gtk.Widget { return new Widget.Box({ className: "tiles-container", orientation: Gtk.Orientation.VERTICAL, - onDestroy: () => { - TilesPages?.close(); - TilesPages = null; - }, + onDestroy: () => TilesPages = null, setup: (box) => { if(!TilesPages) TilesPages = new Pages({ className: "tile-pages"