mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Download from dive computer: Fix the broken selection of devices
The old code was completely bogus - it's confused about what the variable 'i' is counting. This also let's us select the Uemis mount point by default if that's the only valid "device" that we found. Compile tested on Windows, untested on Mac. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
047032ee46
commit
c4899aa8f1
4 changed files with 23 additions and 11 deletions
|
@ -56,7 +56,6 @@ DownloadFromDCWidget::DownloadFromDCWidget(QWidget *parent, Qt::WindowFlags f) :
|
|||
|
||||
progress_bar_text = "";
|
||||
|
||||
fill_device_list(DC_TYPE_OTHER);
|
||||
fill_computer_list();
|
||||
|
||||
ui.chooseDumpFile->setEnabled(ui.dumpToFile->isChecked());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue