mirror of https://github.com/zlatinb/muwire
only add collection if the files will be shared
parent
a9eebac151
commit
e4b395da75
|
@ -788,6 +788,8 @@ class MainFrameModel {
|
|||
}
|
||||
|
||||
void onCollectionDownloadedEvent(CollectionDownloadedEvent e) {
|
||||
if (!core.muOptions.shareDownloadedFiles)
|
||||
return
|
||||
runInsideUIAsync {
|
||||
localCollections.add(e.collection)
|
||||
view.collectionsTable.model.fireTableDataChanged()
|
||||
|
|
Loading…
Reference in New Issue