fix: torrentTableView crash after superview.superview.superview (#6207)

This commit is contained in:
Cœur
2023-11-05 21:35:22 +01:00
committed by GitHub
parent d49b4a9997
commit 5d56e9039a
30 changed files with 100 additions and 59 deletions

View File

@@ -87,6 +87,7 @@ typedef NS_ENUM(NSUInteger, PopupPriority) {
- (void)awakeFromNib
{
[super awakeFromNib];
[NSNotificationCenter.defaultCenter addObserver:self selector:@selector(updateCheckButtons:) name:@"TorrentFileCheckChange"
object:self.torrent];