kcm: Reject the «Forget…?» dialog when either device or adapter is gone
Tested with three possible scenarios, while «Forget…?» dialog is open: 1. Use bluetoothctl to "remove" a device: onDeviceRemoved handler path is triggered. 2. Use an applet, rfkill or bluetoothctl to soft-block Bluetooth controller: this corresponds to onPoweredChanged code path. 2. Hot-unplugging an external Bluetooth dongle to which a device was previously paired: this runs onAdapterRemoved function.
Please register or sign in to comment