(trunk), double clicking a blank part of the table will toggle the inspector; update NEWS

This commit is contained in:
Mitchell Livingston 2008-04-08 03:36:01 +00:00
parent f1d61349e4
commit 8b06357aab
2 changed files with 4 additions and 2 deletions

1
NEWS
View File

@ -8,6 +8,7 @@ NEWS file for Transmission <http://www.transmissionbt.com/>
1.12 (2008/mm/dd)
- Mac
+ Updated Dock badge images
+ Updated Italian localization
1.11 (2008/04/04)

View File

@ -411,9 +411,10 @@
}
else if (!pushed && [event clickCount] == 2) //double click
{
id item = [self itemAtRow: [self rowAtPoint: point]];
int row = [self rowAtPoint: point];
id item = [self itemAtRow: row];
if ([item isKindOfClass: [Torrent class]])
if (row == -1 || [item isKindOfClass: [Torrent class]])
[fController showInfo: nil];
else
{