PanelModel: Fix crash after window resize, fixes #16933 (#16942)

This commit is contained in:
Torkel Ödegaard 2019-05-08 17:21:46 +02:00 committed by GitHub
parent e97853abc9
commit f58ab7945b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -324,7 +324,7 @@ export class PanelModel {
}
hasTitle() {
return !!this.title.length;
return this.title && this.title.length > 0;
}
destroy() {