diff --git a/src/ui/Features/Tools/BatchConvert/BatchConvertViewModel.cs b/src/ui/Features/Tools/BatchConvert/BatchConvertViewModel.cs index 5dc14ed632..45357313d5 100644 --- a/src/ui/Features/Tools/BatchConvert/BatchConvertViewModel.cs +++ b/src/ui/Features/Tools/BatchConvert/BatchConvertViewModel.cs @@ -2504,6 +2504,11 @@ internal void Onloaded(object? sender, RoutedEventArgs e) internal void OnClosing(object? sender, WindowClosingEventArgs e) { UiUtil.SaveWindowPosition(Window); + + // Persist target format and function options also when the window is closed via + // X/Escape - especially important in /batchconvertui mode, where this window is the + // main window and nothing else flushes settings to disk on exit (#11699). + SaveSettings(); } internal void ComboBoxSubtitleFormatChanged()