💥 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({
|
return new Widget.Box({
|
||||||
className: "tiles-container",
|
className: "tiles-container",
|
||||||
orientation: Gtk.Orientation.VERTICAL,
|
orientation: Gtk.Orientation.VERTICAL,
|
||||||
onDestroy: () => {
|
onDestroy: () => TilesPages = null,
|
||||||
TilesPages?.close();
|
|
||||||
TilesPages = null;
|
|
||||||
},
|
|
||||||
setup: (box) => {
|
setup: (box) => {
|
||||||
if(!TilesPages) TilesPages = new Pages({
|
if(!TilesPages) TilesPages = new Pages({
|
||||||
className: "tile-pages"
|
className: "tile-pages"
|
||||||
|
|||||||
Reference in New Issue
Block a user