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

(cherry picked from commit f58ab7945b)
This commit is contained in:
Torkel Ödegaard
2019-05-15 11:52:31 +02:00
parent d9950aa4f1
commit a5a6d43f47
@@ -324,7 +324,7 @@ export class PanelModel {
}
hasTitle() {
return !!this.title.length;
return this.title && this.title.length > 0;
}
destroy() {