mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Don’t restore “search hidden folders” setting
This is only because of upcoming code changes. Wether or not to search hidden folders can be expressed using the glob list, so a dedicated setting is redundant.
This commit is contained in:
@@ -125,11 +125,7 @@ NSString* const FolderOptionsDefaultsKey = @"Folder Search Options";
|
||||
std::string const& path = self.windowController.searchFolder.UTF8String;
|
||||
std::map<std::string, find::folder_scan_settings_t>::const_iterator const& it = folderSettings.find(path);
|
||||
if(it != folderSettings.end())
|
||||
{
|
||||
find::folder_scan_settings_t const& settings = it->second;
|
||||
self.windowController.followLinks = settings.follow_links;
|
||||
self.windowController.searchHiddenFolders = !settings.skip_hidden_folders;
|
||||
}
|
||||
self.windowController.followLinks = it->second.follow_links;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user