From 8b06357aab43faddccade74de2e4289f7a589264 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 8 Apr 2008 03:36:01 +0000 Subject: [PATCH] (trunk), double clicking a blank part of the table will toggle the inspector; update NEWS --- NEWS | 1 + macosx/TorrentTableView.m | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index d2aadb308..2d7649421 100644 --- a/NEWS +++ b/NEWS @@ -8,6 +8,7 @@ NEWS file for Transmission 1.12 (2008/mm/dd) - Mac + + Updated Dock badge images + Updated Italian localization 1.11 (2008/04/04) diff --git a/macosx/TorrentTableView.m b/macosx/TorrentTableView.m index 424db6be8..73896debd 100644 --- a/macosx/TorrentTableView.m +++ b/macosx/TorrentTableView.m @@ -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 {