diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-03-16 09:42:46 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-16 13:59:18 -0700 |
commit | ccd024f0ee4c1e8ba66605eacc40db101ee72dc4 (patch) | |
tree | 1b41a2060cb7346633bad2ea7357787386099f8d /subsurface.debug | |
parent | 2abfd16a1015d7539345377c90ea357ef316bffc (diff) | |
download | subsurface-ccd024f0ee4c1e8ba66605eacc40db101ee72dc4.tar.gz |
mobile/DC-download: select reasonable connection after rescanning
This seems to make more sense than to not select anything (which was the
previous behavior).
If the same connection is still available, select it again. Otherwise
pick the top connection (which is the right thing to do if the user has
just plugged in a USB device and refreshes the list -- that device will
show up as top entry).
Based on a suggestion by Christof Arnosti <charno@charno.ch>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.debug')
0 files changed, 0 insertions, 0 deletions