From add14825a71b821a998eeeddbc3663737ae0878d Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Mon, 12 May 2008 22:08:06 +0000 Subject: [PATCH] when sorting by queue order, dragging on group header will place the torrent at the bottom --- macosx/Controller.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index c68edd95b..9875a2813 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -2620,7 +2620,9 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi } else { - if (![[fDefaults stringForKey: @"Sort"] isEqualToString: SORT_ORDER]) + if ([[fDefaults stringForKey: @"Sort"] isEqualToString: SORT_ORDER]) + index = [[item objectForKey: @"Torrents"] count]; + else index = NSOutlineViewDropOnItemIndex; } }