mirror of
https://github.com/textmate/textmate.git
synced 2026-01-20 20:27:59 -05:00
Only clear find status string for non-folder search
I find myself often closing folder search results and later re-opening (via ⇧⌘F) which would previously have the status string cleared, yet the results still showing. Status should probably be stored together with the folder search results, so when toggling between document and folder search, the status string would follow as well.
This commit is contained in:
@@ -494,7 +494,8 @@ static NSProgressIndicator* OakCreateProgressIndicator ()
|
||||
if([self isWindowLoaded] && ![self.window isVisible])
|
||||
{
|
||||
self.showsResultsOutlineView = self.folderSearch;
|
||||
self.statusString = @"";
|
||||
if(!self.folderSearch)
|
||||
self.statusString = @"";
|
||||
}
|
||||
|
||||
BOOL isVisibleAndKey = [self isWindowLoaded] && [self.window isVisible] && [self.window isKeyWindow];
|
||||
|
||||
Reference in New Issue
Block a user