fix updating of the media component

This commit is contained in:
Michael Zanetti 2019-11-30 13:24:02 +01:00
parent 14c7a3de1e
commit c0ba41d2ef

View File

@ -386,7 +386,8 @@ MouseArea {
shownInterfaces: ["mediacontroller"]
}
device: mediaControllers.parentProxy ? mediaControllers.get(0) : null
// involve count in the statement to make the binding re-evaluate when the group is changed
device: mediaControllers.count > 0 ? mediaControllers.get(0) : null
}
}
}