mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Configure DC dialog: Always correctly set update firmware button
Always set the update firmware button correctly based on DC model. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
1723db9d0b
commit
9a8a0afa29
1 changed files with 1 additions and 2 deletions
|
@ -1526,8 +1526,7 @@ void ConfigureDiveComputerDialog::dc_open()
|
|||
ui.bluetoothMode->setEnabled(false);
|
||||
ui.DiveComputerList->setEnabled(false);
|
||||
ui.logToFile->setEnabled(false);
|
||||
if (fw_upgrade_possible)
|
||||
ui.updateFirmwareButton->setEnabled(true);
|
||||
ui.updateFirmwareButton->setEnabled(fw_upgrade_possible);
|
||||
ui.progressBar->setFormat(tr("Connected to device"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue