From 23fed68a67c3646bd50c53a6701c9f9242fff2c8 Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Tue, 3 Sep 2024 08:00:25 +0200 Subject: [PATCH] Save "Adjust settings" in "Batch convert" - thx oep42 :) Fix #8710 --- src/ui/Forms/BatchConvert.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ui/Forms/BatchConvert.cs b/src/ui/Forms/BatchConvert.cs index 88b0e4bb8..6fc50e00f 100644 --- a/src/ui/Forms/BatchConvert.cs +++ b/src/ui/Forms/BatchConvert.cs @@ -3546,6 +3546,14 @@ namespace Nikse.SubtitleEdit.Forms Configuration.Settings.Tools.AdjustDurationLast = AdjustDisplayDuration.Fixed; } + Configuration.Settings.Tools.AdjustDurationSeconds = numericUpDownSeconds.Value; + Configuration.Settings.Tools.AdjustDurationPercent = (int)numericUpDownAdjustViaPercent.Value; + Configuration.Settings.General.SubtitleOptimalCharactersPerSeconds = (double)numericUpDownOptimalCharsSec.Value; + Configuration.Settings.General.SubtitleMaximumCharactersPerSeconds = (double)numericUpDownMaxCharsSec.Value; + Configuration.Settings.Tools.AdjustDurationExtendOnly = checkBoxExtendOnly.Checked; + Configuration.Settings.Tools.AdjustDurationExtendEnforceDurationLimits = checkBoxEnforceDurationLimits.Checked; + Configuration.Settings.Tools.AdjustDurationExtendCheckShotChanges = checkBoxAdjustDurationCheckShotChanges.Checked; + Configuration.Settings.Tools.BatchConvertExportCustomTextTemplate = _customTextTemplate; Configuration.Settings.Tools.BatchConvertSaveInSourceFolder = radioButtonSaveInSourceFolder.Checked; Configuration.Settings.Tools.BatchConvertMergeShortLines = IsActionEnabled(CommandLineConverter.BatchAction.MergeShortLines);