exportdialog: fixed UI issue that allowed "sidecar" files on direct subtitle exports

This commit is contained in:
itsmattkc
2023-02-06 17:27:27 -08:00
parent aa6b77f800
commit c322bb6463
3 changed files with 15 additions and 4 deletions
+1
View File
@@ -632,6 +632,7 @@ void ExportDialog::SetDefaults()
audio_tab_->sample_format_combobox()->SetAttemptToRestoreFormat(false);
audio_tab_->channel_layout_combobox()->SetChannelLayout(ap.channel_layout());
subtitles_enabled_->setChecked(SequenceHasSubtitles());
subtitle_tab_->SetSidecarFormat(ExportFormat::kFormatSRT);
}
EncodingParams ExportDialog::GenerateParams() const