💥 ags(control-center/tiles): don't close page on ::destroy signal

This commit is contained in:
retrozinndev
2025-04-23 17:48:51 -03:00
parent 2b78fc29ff
commit f054958f6f
+1 -4
View File
@@ -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"