Index: sources/gui/qml/pages/settings/SettingsBluetoothCuff.qml =================================================================== diff -u -r59fc5195a10eeb83ac60cf32a9123fb9c9f8ec8e -r2b90169339a65399c03c31d1a40adffee87e7719 --- sources/gui/qml/pages/settings/SettingsBluetoothCuff.qml (.../SettingsBluetoothCuff.qml) (revision 59fc5195a10eeb83ac60cf32a9123fb9c9f8ec8e) +++ sources/gui/qml/pages/settings/SettingsBluetoothCuff.qml (.../SettingsBluetoothCuff.qml) (revision 2b90169339a65399c03c31d1a40adffee87e7719) @@ -113,15 +113,26 @@ width : 300 isDefault : false enabled : vBluetooth.scanEnabled && vBluetooth.isInvalid - onClicked : vBluetooth.doScan() + onClicked : { + vDevice.doInitBluetoothPairedReset() + } } + Connections { target: vDevice + onBluetoothPairedResetChanged : { + // DEBUG: console.debug("bluetoothPairedReset", vbluetoothPairedReset, vDevice.accepted, vDevice.reason, vDevice.status) + // NOTE : vbluetoothPairedReset eq vDevice.reason + if ( vDevice.accepted ) { + vBluetooth.doScan() + } + } + } + WaitDone { id : _scanIndication anchors.horizontalCenter : parent.horizontalCenter anchors.verticalCenter : _scanButton.verticalCenter diameter : _scanButton.height visible : ! vBluetooth.scanEnabled && ! vBluetooth.isInvalid // done : _delegate.stepDone } - - notificationText : vBluetooth.notification + notificationText : vBluetooth.notification || vDevice.status }