settings: bluetooth: qml: stop device lists from scrolling 47/14047/2
authorMatt Ranostay <matt.ranostay@konsulko.com>
Mon, 21 May 2018 09:01:42 +0000 (02:01 -0700)
committerMatt Ranostay <matt.ranostay@konsulko.com>
Tue, 22 May 2018 02:16:45 +0000 (02:16 +0000)
commite21cbc951028ca04d0eca0ec29a375489d0ff32f
treec2812d9d13e3d7d51960185c9a49d96ac5ba502f
parent550a9bca3658852521dc6647ed0d8bd4101cf9a6
settings: bluetooth: qml: stop device lists from scrolling

Both device lists were emitting an layoutChanged() signal on any device
addition/update/removal which caused the model to refresh causing it to
'scroll' to the top. This event should only be emitted when the model is
being sorted, and hence incorrect in the current call.

Bug-AGL: SPEC-1385
Change-Id: I2828ad41e8bf4c9e0c83b62322b9e281e37408eb
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
app/bluetooth/Bluetooth.qml