Update downloadfromdivecomputer.cpp

Replaces spaces with tabs and corrected misplaced braces (embarassing...).

Signed-off-by: jme <32236882+notrege@users.noreply.github.com>
This commit is contained in:
jme 2024-03-05 21:49:07 +00:00 committed by Michael Keller
parent 4dcc9210a9
commit 5980db073a

View file

@ -636,11 +636,10 @@ void DownloadFromDCWidget::enableBluetoothMode(int state)
ui.chooseBluetoothDevice->setEnabled(state == Qt::Checked);
if (state == Qt::Checked) {
if (ui.device->currentText().isEmpty()) {
if (ui.device->currentText().isEmpty())
selectRemoteBluetoothDevice();
} else {
ui.device->setCurrentIndex(-1);
}
} else {
ui.device->setCurrentIndex(-1);
}
}
#endif