mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Remove progress bar resets
The reset call hides the progress bar text, and that way it hides our error messages we try to show with the progress bar. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
277d090f55
commit
7825495620
1 changed files with 0 additions and 3 deletions
|
@ -683,7 +683,6 @@ void ConfigureDiveComputerDialog::readSettings()
|
|||
ui.progressBar->setTextVisible(true);
|
||||
|
||||
getDeviceData();
|
||||
ui.progressBar->reset();
|
||||
config->readSettings(&device_data);
|
||||
}
|
||||
|
||||
|
@ -694,7 +693,6 @@ void ConfigureDiveComputerDialog::resetSettings()
|
|||
ui.progressBar->setTextVisible(true);
|
||||
|
||||
getDeviceData();
|
||||
ui.progressBar->reset();
|
||||
config->resetSettings(&device_data);
|
||||
}
|
||||
|
||||
|
@ -1078,7 +1076,6 @@ void ConfigureDiveComputerDialog::on_updateFirmwareButton_clicked()
|
|||
ui.progressBar->setTextVisible(true);
|
||||
|
||||
getDeviceData();
|
||||
ui.progressBar->reset();
|
||||
config->startFirmwareUpdate(firmwarePath, &device_data);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue