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

@@ -39,6 +39,7 @@ typedef NS_ENUM(NSInteger, SegmentTag) {
- (void)awakeFromNib
{
[super awakeFromNib];
[self.fTableView registerForDraggedTypes:@[ kGroupTableViewDataType ]];
[self.fSelectedColorView addObserver:self forKeyPath:@"color" options:0 context:NULL];