if you double click the ETA, the inspector shouldn't pop up

This commit is contained in:
Mitchell Livingston 2006-12-15 16:56:55 +00:00
parent f4bcbc77e7
commit 8a11ad6e25
1 changed files with 4 additions and 1 deletions

View File

@ -106,7 +106,10 @@
else
{
if ([self pointInMinimalStatusRect: fClickPoint])
{
[(TorrentCell *)[[self tableColumnWithIdentifier: @"Torrent"] dataCell] toggleMinimalStatus];
fClickPoint = NSZeroPoint;
}
[super mouseDown: event];
}
@ -141,7 +144,7 @@
}
else if (sameRow && [self pointInRevealRect: point] && [self pointInRevealRect: fClickPoint])
[[fTorrents objectAtIndex: row] revealData];
else if ([event clickCount] == 2)
else if ([event clickCount] == 2 && !NSEqualPoints(fClickPoint, NSZeroPoint))
{
if ([self pointInIconRect: point])
[[fTorrents objectAtIndex: row] revealData];