diff --git a/MangaPrinter.Conf/CoreConf.cs b/MangaPrinter.Conf/CoreConf.cs index 8f1a755..20e4d00 100644 --- a/MangaPrinter.Conf/CoreConf.cs +++ b/MangaPrinter.Conf/CoreConf.cs @@ -136,7 +136,7 @@ public class CoreConf "Add page after every chapter with text" ); - public JMetaT Binding_AniSpoilerBatch { get; } = new JMetaT(26, + public JMetaT Binding_AntiSpoilerBatch { get; } = new JMetaT(26, "How many pages to print between Anti-spoiler pages. 0=No anti spoiler at all", (N) => N >= 0 ); diff --git a/MangaPrinter.WpfGUI/MainWindow.xaml.cs b/MangaPrinter.WpfGUI/MainWindow.xaml.cs index 2186427..8e5811f 100644 --- a/MangaPrinter.WpfGUI/MainWindow.xaml.cs +++ b/MangaPrinter.WpfGUI/MainWindow.xaml.cs @@ -100,8 +100,8 @@ void ConfigChanged(JsonConfig config) cbAddStart.IsChecked = CoreConf.I.Binding_AddStartPage; cbAddEnd.IsChecked = CoreConf.I.Binding_AddEndPage; - cbUseAntiSpoiler.IsChecked = CoreConf.I.Binding_AniSpoilerBatch > 0; - txtSpoilerPgNm.Text = CoreConf.I.Binding_AniSpoilerBatch.Get().ToString(); + cbUseAntiSpoiler.IsChecked = CoreConf.I.Binding_AntiSpoilerBatch > 0; + txtSpoilerPgNm.Text = CoreConf.I.Binding_AntiSpoilerBatch.Get().ToString(); //todo txtPrintPadding.Text = Config.exportPagePadding.ToString(); @@ -500,7 +500,7 @@ private void UpdateApectCutoff(double newAspectCutoff) private void txtSpoilerPgNm_TextChanged(object sender, TextChangedEventArgs e) { int? batch = verifyInteger(txtSpoilerPgNm, - CoreConf.I.Binding_AniSpoilerBatch.Get().ToString()); + CoreConf.I.Binding_AntiSpoilerBatch.Get().ToString()); if (batch != null) { @@ -508,7 +508,7 @@ private void txtSpoilerPgNm_TextChanged(object sender, TextChangedEventArgs e) } else { - cbUseAntiSpoiler.IsChecked = CoreConf.I.Binding_AniSpoilerBatch > 0; + cbUseAntiSpoiler.IsChecked = CoreConf.I.Binding_AntiSpoilerBatch > 0; } }