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) {
|
void onCollectionDownloadedEvent(CollectionDownloadedEvent e) {
|
||||||
|
if (!core.muOptions.shareDownloadedFiles)
|
||||||
|
return
|
||||||
runInsideUIAsync {
|
runInsideUIAsync {
|
||||||
localCollections.add(e.collection)
|
localCollections.add(e.collection)
|
||||||
view.collectionsTable.model.fireTableDataChanged()
|
view.collectionsTable.model.fireTableDataChanged()
|
||||||
|
|
Loading…
Reference in New Issue