settings: bluetooth: qml: stop device lists from scrolling 43/14043/2 5.99.1 5.99.2 flounder/5.99.1 flounder/5.99.2 flounder_5.99.1 flounder_5.99.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 01:57:26 +0000 (18:57 -0700)
commit9f54d40746e2a09781e2a197cea1822bbd0d25ad
tree1340d3094a19d4c8231d6a21b4b66a1d2dc33238
parent31ffe45b794b8cd5ffd9bd9a92e45d6f18bdf5ac
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