mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-31 08:21:59 +02:00
Set popover parent only once and unset on app close
This commit is contained in:
10
clapper_src/controls.js
vendored
10
clapper_src/controls.js
vendored
@@ -467,4 +467,14 @@ class ClapperControls extends Gtk.Box
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
_onCloseRequest()
|
||||
{
|
||||
for(let button of this.buttonsArr) {
|
||||
if(!button._onCloseRequest)
|
||||
continue;
|
||||
|
||||
button._onCloseRequest();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user