Added configuration and wired it up.

This commit is contained in:
Sean Kelly 2021-09-27 20:18:50 +13:00
parent 36f58b64d6
commit 8a74a29700
7 changed files with 391 additions and 319 deletions

View file

@ -48,6 +48,7 @@ namespace LibationWinForms.Dialogs
allowLibationFixupCbox.Checked = config.AllowLibationFixup;
convertLosslessRb.Checked = !config.DecryptToLossy;
convertLossyRb.Checked = config.DecryptToLossy;
splitFilesByChapterCbox.Checked = config.SplitFilesByChapter;
allowLibationFixupCbox_CheckedChanged(this, e);
@ -129,6 +130,7 @@ namespace LibationWinForms.Dialogs
config.DownloadEpisodes = downloadEpisodesCb.Checked;
config.AllowLibationFixup = allowLibationFixupCbox.Checked;
config.DecryptToLossy = convertLossyRb.Checked;
config.SplitFilesByChapter = splitFilesByChapterCbox.Checked;
config.InProgress = inProgressSelectControl.SelectedDirectory;