mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
reseting progress_bar_text for new downloads
if the user tries to redownload something from its dive computer the interface will be stuck since progress_bar_text won't be empty in the second run. Even if I don't really like this idea of that value being changed by downloadfromdivecomputer.cpp and libdivecomputer.c, that value needs to be reset by someone. Signed-off-by: Danilo Cesar Lemes de Paula <danilo.eu@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0e6d893dae
commit
6801c68c2d
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,8 @@ DownloadFromDCWidget::DownloadFromDCWidget(QWidget* parent, Qt::WindowFlags f) :
|
||||||
ui.progressBar->setMinimum(0);
|
ui.progressBar->setMinimum(0);
|
||||||
ui.progressBar->setMaximum(100);
|
ui.progressBar->setMaximum(100);
|
||||||
|
|
||||||
|
progress_bar_text = "";
|
||||||
|
|
||||||
fill_device_list();
|
fill_device_list();
|
||||||
fill_computer_list();
|
fill_computer_list();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue