1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-20 02:35:43 +00:00

only show the priority selector when over the priority column, not the row

This commit is contained in:
Mitchell Livingston 2007-06-24 14:13:57 +00:00
parent ecc93b8032
commit f7f032142a

View file

@ -78,7 +78,7 @@
if (event) if (event)
{ {
NSPoint point = [self convertPoint: [event locationInWindow] fromView: nil]; NSPoint point = [self convertPoint: [event locationInWindow] fromView: nil];
if (NSPointInRect(point, [self frame])) if ([self columnAtPoint: point] == [self columnWithIdentifier: @"Priority"])
row = [self rowAtPoint: point]; row = [self rowAtPoint: point];
} }