1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-11 06:32:59 +00:00

fix: compiler warning "not legal to call -layoutSubtreeIfNeeded on a view which is already being laid out." (#6299)

This commit is contained in:
Cœur 2023-11-27 02:48:02 +01:00 committed by GitHub
parent e14806c409
commit 4b3f0a15c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -348,8 +348,8 @@ static NSTimeInterval const kToggleProgressSeconds = 0.175;
torrentCell.fRevealButton.action = @selector(revealTorrentFile:);
// redraw buttons
[torrentCell.fControlButton display];
[torrentCell.fRevealButton display];
torrentCell.fControlButton.needsDisplay = YES;
torrentCell.fRevealButton.needsDisplay = YES;
return torrentCell;
}