mirror of https://github.com/zlatinb/muwire
fix confidential status being always set and show it in the download details
parent
f6d824339e
commit
0499fb1ea1
|
@ -250,7 +250,8 @@ class NetworkDownloader extends Downloader {
|
|||
activeWorkers.values().each {
|
||||
rv &= it.confidential
|
||||
}
|
||||
confidential = rv
|
||||
if (!activeWorkers.isEmpty())
|
||||
confidential = rv
|
||||
rv
|
||||
}
|
||||
|
||||
|
|
|
@ -132,6 +132,7 @@ SELECT_DOWNLOAD_VIEW_DETAILS=Select a download to view details
|
|||
DOWNLOAD_LOCATION=Download Location
|
||||
PIECE_SIZE=Piece Size
|
||||
SEQUENTIAL=Sequential
|
||||
CONFIDENTIAL=Confidential
|
||||
KNOWN_SOURCES=Known Sources
|
||||
ACTIVE_SOURCES=Active Sources
|
||||
HOPELESS_SOURCES=Hopeless Sources
|
||||
|
|
|
@ -336,6 +336,8 @@ class MainFrameView {
|
|||
label(text : bind {model.downloader?.getNPieces()}, constraints : gbc(gridx:6, gridy:0, insets : [0,0,0,20]))
|
||||
label(text : trans("DONE_PIECES") + ":", constraints: gbc(gridx:5, gridy: 1))
|
||||
label(text : bind {model.downloader?.donePieces()}, constraints : gbc(gridx:6, gridy:1, insets : [0,0,0,20]))
|
||||
label(text : trans("CONFIDENTIAL") + ":", constraints: gbc(gridx:5, gridy: 2))
|
||||
label(text : bind {model.downloader?.isConfidential()}, constraints: gbc(gridx: 6, gridy: 2, insets : [0,0,0,20]))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue