fix(ui/views/App/MainWindow/Contacts): handle TypeError: Cannot read property of null

This commit is contained in:
Ronan Abhamon 2017-02-09 17:17:18 +01:00
parent e1fb1a3938
commit b9c1e7da5f

View file

@ -87,7 +87,7 @@ ColumnLayout {
bottomColor: ContactsStyle.contact.border.color
bottomWidth: ContactsStyle.contact.border.width
height: ContactsStyle.contact.height
width: parent.width
width: parent ? parent.width : 0
// ---------------------------------------------------------------------