Reset the index of the device if the Bth mode is disabled
If the Bluetooth download mode was disabled then remove the Bth address from the device or mount point section and reset the index. Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9e97f124c6
commit
a05cf2136d
@ -572,8 +572,11 @@ void DownloadFromDCWidget::bluetoothSelectionDialogIsFinished(int result)
|
||||
void DownloadFromDCWidget::enableBluetoothMode(int state)
|
||||
{
|
||||
ui.chooseBluetoothDevice->setEnabled(state == Qt::Checked);
|
||||
|
||||
if (state == Qt::Checked)
|
||||
selectRemoteBluetoothDevice();
|
||||
else
|
||||
ui.device->setCurrentIndex(-1);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user