1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-03 21:12:05 +00:00

Only toggle status if that row is highlighted.

This commit is contained in:
Mitchell Livingston 2006-07-25 01:07:34 +00:00
parent dec8c54c3b
commit d4f3ac6ae2

View file

@ -284,7 +284,7 @@
- (BOOL) pointInMinimalStatusRect: (NSPoint) point
{
int row = [self rowAtPoint: point];
if (row < 0 || ![fDefaults boolForKey: @"SmallView"])
if (row < 0 || ![self isRowSelected: row] || ![fDefaults boolForKey: @"SmallView"])
return NO;
const STATUS_WIDTH = 130.0;