mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Update downloadfromdivecomputer.cpp
Per Michael's suggestion, use isBluetoothAddress as check before skipping Bluetooth scan. Signed-off-by: jme <32236882+notrege@users.noreply.github.com>
This commit is contained in:
parent
ffce4bc097
commit
a5575f43a3
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ void DownloadFromDCWidget::enableBluetoothMode(int state)
|
|||
ui.chooseBluetoothDevice->setEnabled(state == Qt::Checked);
|
||||
|
||||
if (state == Qt::Checked) {
|
||||
if (ui.device->currentText().isEmpty())
|
||||
if (!isBluetoothAddress(ui.device->currentText()))
|
||||
selectRemoteBluetoothDevice();
|
||||
} else {
|
||||
ui.device->setCurrentIndex(-1);
|
||||
|
|
Loading…
Add table
Reference in a new issue