Set popover parent only once and unset on app close

This commit is contained in:
Rafostar
2020-11-10 18:11:59 +01:00
parent 0c307bc606
commit f644710762
3 changed files with 17 additions and 2 deletions

View File

@@ -467,4 +467,14 @@ class ClapperControls extends Gtk.Box
break;
}
}
_onCloseRequest()
{
for(let button of this.buttonsArr) {
if(!button._onCloseRequest)
continue;
button._onCloseRequest();
}
}
});