Improve dl check

This commit is contained in:
niksedk 2023-02-08 20:26:25 +01:00
parent fe37dfb265
commit 2add08bf55
2 changed files with 11 additions and 0 deletions

View File

@ -1185,6 +1185,16 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
{
buttonGenerate.Focus();
_initialWidth = Width;
if (Configuration.Settings.Tools.WhisperChoice == WhisperChoice.ConstMe)
{
Configuration.Settings.Tools.WhisperChoice = WhisperChoice.Cpp;
whisperConstMeToolStripMenuItem_Click(null, null);
if (Configuration.Settings.Tools.WhisperChoice == WhisperChoice.Cpp)
{
Init();
}
}
}
private void listViewInputFiles_DragEnter(object sender, DragEventArgs e)

View File

@ -83,6 +83,7 @@ namespace Nikse.SubtitleEdit.Forms.AudioToText
removeTemporaryFilesToolStripMenuItem.Checked = Configuration.Settings.Tools.WhisperDeleteTempFiles;
whisperConstMeToolStripMenuItem.Checked = Configuration.Settings.Tools.WhisperChoice == WhisperChoice.ConstMe;
whisperConstMeToolStripMenuItem.Visible = Configuration.IsRunningOnWindows;
ContextMenuStrip = contextMenuStripWhisperAdvanced;
}