allow cancelling of downloads while hashlist is being fetched

pull/5/head
Zlatin Balevsky 2019-06-15 08:35:23 +01:00
parent 9ac52b61dc
commit edd58e0c90
1 changed files with 1 additions and 0 deletions

View File

@ -280,6 +280,7 @@ class MainFrameView {
switch(downloader.getCurrentState()) {
case Downloader.DownloadState.CONNECTING :
case Downloader.DownloadState.DOWNLOADING :
case Downloader.DownloadState.HASHLIST:
model.cancelButtonEnabled = true
model.retryButtonEnabled = false
break