Save "Adjust settings" in "Batch convert" - thx oep42 :)

Fix #8710
This commit is contained in:
Nikolaj Olsson 2024-09-03 08:00:25 +02:00
parent 347db4637f
commit 23fed68a67

View File

@ -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);