mirror of https://github.com/zlatinb/muwire
account for hashing errors
parent
fe753ff978
commit
45f0736a5e
|
@ -53,7 +53,8 @@ class FilesModel {
|
||||||
|
|
||||||
void onFileHashedEvent(FileHashedEvent e) {
|
void onFileHashedEvent(FileHashedEvent e) {
|
||||||
guiThread.invokeLater {
|
guiThread.invokeLater {
|
||||||
sharedFiles.add(e.sharedFile)
|
if (e.sharedFile != null)
|
||||||
|
sharedFiles.add(e.sharedFile)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue