Skip to content

Commit

Permalink
deselecting file browser when open files selection changes
Browse files Browse the repository at this point in the history
  • Loading branch information
markhuot committed Jul 13, 2011
1 parent c7679f4 commit 165c5c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/MHOpenFiles.m
Expand Up @@ -187,6 +187,9 @@ - (void)outlineViewSelectionDidChange:(NSNotification *)notification
// get object
id item = [outlineView itemAtRow:[outlineView selectedRow]];
[tabView selectTabWithIdentifier:item];

// deselect the file broswer
[fileBrowserView deselectAll:self];
}

- (BOOL)outlineView:(NSOutlineView *)outlineView writeItems:(NSArray *)items toPasteboard:(NSPasteboard *)pasteboard
Expand Down

0 comments on commit 165c5c6

Please sign in to comment.