Changeset 83

Show
Ignore:
Timestamp:
06/29/07 16:33:33 (5 years ago)
Author:
gbooker
Message:

Fixed the dividers not disappearing (how annoying that reload doesn't get rid of them).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/SapphireBrowser.m

    r79 r83  
    137137- (void)reloadDirectoryContents 
    138138{ 
     139        BRListControl *list = [self list]; 
     140        [list removeDividerAtIndex:dirCount]; 
     141        [list removeDividerAtIndex:[_names count] - 1]; 
    139142        [metaData reloadDirectoryContents]; 
    140143        [_names removeAllObjects]; 
     
    166169        } 
    167170 
    168         BRListControl *list = [self list]; 
    169171        [list reload]; 
    170172        if(dirCount && dirCount != [_names count]) 
     
    274276    // always call super 
    275277    [super wasExhumedByPoppingController: controller]; 
    276         if([_names count] == 0) 
     278        if(fileCount + dirCount == 0) 
    277279                [[self stack] popController]; 
    278280        else