mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Download dialog: we can accept a partial download after an error
The dialog didn't accept "OK" and store the dives downloaded / selected so far if there had been an error. Especially with partial downloads from the Uemis SDA this is something that is quite reasonable to want to do, so allow exiting the dialog with OK even after an error. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3953800fe6
commit
4bccee238c
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ void DownloadFromDCWidget::on_ok_clicked()
|
|||
{
|
||||
struct dive *dive;
|
||||
|
||||
if (currentState != DONE)
|
||||
if (currentState != DONE && currentState != ERROR)
|
||||
return;
|
||||
|
||||
// record all the dives in the 'real' dive_table
|
||||
|
|
Loading…
Reference in a new issue