Changeset 1227


Ignore:
Timestamp:
Dec 15, 2006, 4:56:55 PM (15 years ago)
Author:
livings124
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentTableView.m

    r1044 r1227  
    107107        {
    108108            if ([self pointInMinimalStatusRect: fClickPoint])
     109            {
    109110                [(TorrentCell *)[[self tableColumnWithIdentifier: @"Torrent"] dataCell] toggleMinimalStatus];
     111                fClickPoint = NSZeroPoint;
     112            }
    110113
    111114            [super mouseDown: event];
     
    142145    else if (sameRow && [self pointInRevealRect: point] && [self pointInRevealRect: fClickPoint])
    143146        [[fTorrents objectAtIndex: row] revealData];
    144     else if ([event clickCount] == 2)
     147    else if ([event clickCount] == 2 && !NSEqualPoints(fClickPoint, NSZeroPoint))
    145148    {
    146149        if ([self pointInIconRect: point])
Note: See TracChangeset for help on using the changeset viewer.