private void PreSelectDownloadFolder(IMangaRecord mangaRecord)
{
if (mangaRecord == null)
throw new ArgumentNullException("mangaRecord");
if(!Properties.Settings.Default.PreselectOutputFolder)
return;
string folder = ServiceLocator.Instance.GetService<Library.ILibraryManager>().GetRecentOutputFolder(mangaRecord);
if (String.IsNullOrEmpty(folder))
return;
OutputPath = folder;
}