widgets: safe setvisibility()
This commit is contained in:
parent
7fb558ed96
commit
bf639fa10c
1 changed files with 1 additions and 1 deletions
|
|
@ -1019,7 +1019,7 @@ class Widget extends EventEmitter {
|
|||
this.container.style.display = this.getProp('visible') ? '' : 'none'
|
||||
|
||||
for (var c of this.children) {
|
||||
c.setVisibility()
|
||||
if (c) c.setVisibility()
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue