fix(ui/views/App/MainWindow/ContactEdit): display missing avatar image in edition mode if no photo available

This commit is contained in:
Ronan Abhamon 2017-01-25 16:07:00 +01:00
parent 345a3c6fb5
commit 635193249e

View file

@ -146,7 +146,7 @@ ColumnLayout {
anchors.fill: parent
image: _vcard.avatar
username: _vcard.username
visible: isLoaded() && (!parent.hovered || !_edition)
visible: (isLoaded() && !parent.hovered) || !_edition
}
}