1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-12 15:14:12 +00:00

(hopefully) fix a potential crash in the message log window

This commit is contained in:
Mitchell Livingston 2009-11-28 22:10:30 +00:00
parent f5655c8d8b
commit ec73af134a

View file

@ -327,8 +327,8 @@
[fDisplayedMessages sortUsingDescriptors: [fMessageTable sortDescriptors]];
[fMessageTable deselectAll: nil];
[fMessageTable reloadData];
[fMessageTable deselectAll: self];
if ([fDisplayedMessages count] > 0)
[fMessageTable scrollRowToVisible: [fDisplayedMessages count]-1];