diff --git a/js/ui/overviewControls.js b/js/ui/overviewControls.js index 88726573d..c15316169 100644 --- a/js/ui/overviewControls.js +++ b/js/ui/overviewControls.js @@ -112,7 +112,8 @@ class ControlsManagerLayout extends Clutter.BoxLayout { vfunc_set_container(container) { this._container = container; - this.hookup_style(container); + if (container) + this.hookup_style(container); } vfunc_get_preferred_width(_container, _forHeight) {