mirror of https://github.com/zlatinb/muwire
allow cancelling of downloads while hashlist is being fetched
parent
9ac52b61dc
commit
edd58e0c90
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue