fix(Calls): avoid a crash with a bad binding (Qt 5.11) on ConferenceControls

This commit is contained in:
Ronan Abhamon 2018-06-20 14:32:53 +02:00
parent ee9c95d282
commit 4f908efd12

View file

@ -93,9 +93,7 @@ ListView {
// ---------------------------------------------------------------------------
header: ConferenceControls {
readonly property bool isSelected: calls.currentIndex === -1 &&
calls._selectedCall == null &&
visible
readonly property bool isSelected: calls.currentIndex === -1 && calls._selectedCall == null
height: visible ? ConferenceControlsStyle.height : 0
width: parent.width