mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
Fix "nil passed to a callee that requires a non-null 1st parameter" (#4084)
This commit is contained in:
@@ -61,7 +61,7 @@ typedef NS_ENUM(unsigned int, filePriorityMenuTag) { //
|
||||
{
|
||||
_torrent = torrent;
|
||||
|
||||
[self.fFileList setArray:_torrent.fileList];
|
||||
[self.fFileList setArray:torrent.fileList ?: @[]];
|
||||
|
||||
self.filterText = nil;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user