💥 ags(control-center/tiles): don't close page on ::destroy signal
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user