Skip to content

Commit

Permalink
[bugfix] Fixes QgsFileDownloader abort on error
Browse files Browse the repository at this point in the history
Backported from master 6b9b513
  • Loading branch information
elpaso committed Nov 8, 2017
1 parent 9339615 commit 309b1c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/qgsfiledownloader.cpp
Expand Up @@ -114,6 +114,8 @@ void QgsFileDownloader::error( QStringList errorMessages )
{
QMessageBox::warning( nullptr, tr( "Download failed" ), mErrors.join( "<br>" ) );
}
if ( mReply )
mReply->abort();
emit downloadError( mErrors );
}

Expand Down

0 comments on commit 309b1c8

Please sign in to comment.