Changeset 2719
- Timestamp:
- Aug 11, 2007, 2:44:01 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/TorrentTableView.m
r2718 r2719 118 118 if ([self pointInActionRect: fClickPoint]) 119 119 { 120 [self setNeedsDisplayInRect: [self rectOfRow: [self rowAtPoint: fClickPoint]]]; //ensure button is pushed down 120 int row = [self rowAtPoint: fClickPoint]; 121 [self setNeedsDisplayInRect: [self rectOfRow: row]]; //ensure button is pushed down 122 121 123 [self displayTorrentMenuForEvent: event]; 124 122 125 fClickPoint = NSZeroPoint; 126 [self setNeedsDisplayInRect: [self rectOfRow: row]]; 123 127 } 124 128 else if ([self pointInPauseRect: fClickPoint] || [self pointInRevealRect: fClickPoint]) 129 { 125 130 fClickIn = YES; 131 [self setNeedsDisplayInRect: [self rectOfRow: [self rowAtPoint: fClickPoint]]]; 132 } 126 133 else 127 134 { … … 130 137 [fDefaults setBool: ![fDefaults boolForKey: @"UseAdvancedBar"] forKey: @"UseAdvancedBar"]; 131 138 fClickPoint = NSZeroPoint; 139 [self reloadData]; 132 140 } 133 141 else … … 137 145 [fDefaults setBool: ![fDefaults boolForKey: @"SmallStatusRegular"] forKey: @"SmallStatusRegular"]; 138 146 fClickPoint = NSZeroPoint; 147 [self reloadData]; 139 148 } 140 149 … … 142 151 } 143 152 } 144 145 #warning make more efficient146 [self display];147 153 } 148 154
Note: See TracChangeset
for help on using the changeset viewer.