Changeset 5833


Ignore:
Timestamp:
May 14, 2008, 6:09:51 PM (14 years ago)
Author:
livings124
Message:

dragging directly onto group row won't change queue order

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r5826 r5833  
    26192619                    item = group;
    26202620                }
    2621                 else
    2622                 {
    2623                     if (index == NSOutlineViewDropOnItemIndex)
    2624                         index = [[item objectForKey: @"Torrents"] count];
    2625                 }
    26262621            }
    26272622            else
     
    26292624                if ([item isKindOfClass: [Torrent class]])
    26302625                    item = [fTableView parentForItem: item];
    2631                
    26322626                index = NSOutlineViewDropOnItemIndex;
    26332627            }
     
    26862680       
    26872681        //reorder queue order
    2688         if ([[fDefaults stringForKey: @"Sort"] isEqualToString: SORT_ORDER])
     2682        if (newRow != NSOutlineViewDropOnItemIndex)
    26892683        {
    26902684            //find torrent to place under
Note: See TracChangeset for help on using the changeset viewer.