Fix for last commit

This commit is contained in:
niksedk 2023-03-11 20:48:40 +01:00
parent 89d789b96d
commit 71a75cefb4
3 changed files with 5 additions and 1 deletions

View File

@ -889,6 +889,7 @@ Read more info (web)?</WhisperNotFound>
<SetLanguage>Set language...</SetLanguage>
<ToggleForced>Toggle forced</ToggleForced>
<ToggleDefault>Toggle default</ToggleDefault>
<Default>Default</Default>
<XGeneratedWithEmbeddedSubs>"{0}" generated with embedded subtitles</XGeneratedWithEmbeddedSubs>
</GenerateVideoWithEmbeddedSubs>
<GetDictionaries>

View File

@ -34668,7 +34668,7 @@ namespace Nikse.SubtitleEdit.Forms
return;
}
using (var form = new GenerateVideoWithSoftSubs(_subtitle, _videoFileName, _videoInfo, false))
using (var form = new GenerateVideoWithSoftSubs(_subtitle, _videoFileName, _videoInfo))
{
var result = form.ShowDialog(this);
if (result != DialogResult.OK)

View File

@ -2356,6 +2356,9 @@ namespace Nikse.SubtitleEdit.Logic
case "GenerateVideoWithEmbeddedSubs/ToggleDefault":
language.GenerateVideoWithEmbeddedSubs.ToggleDefault = reader.Value;
break;
case "GenerateVideoWithEmbeddedSubs/Default":
language.GenerateVideoWithEmbeddedSubs.Default = reader.Value;
break;
case "GenerateVideoWithEmbeddedSubs/XGeneratedWithEmbeddedSubs":
language.GenerateVideoWithEmbeddedSubs.XGeneratedWithEmbeddedSubs = reader.Value;
break;