Prompt for overwrite in "Multiple replace" export - thx redactedscribe :)

Fix #8516
This commit is contained in:
Nikolaj Olsson 2024-06-15 19:26:24 +02:00
parent 6b3feb8bc3
commit d53d2728a3

View File

@ -92,6 +92,7 @@ namespace Nikse.SubtitleEdit.Forms
saveFileDialogStyle.FileName = "multiple_replace_groups.template";
saveFileDialogStyle.Title = LanguageSettings.Current.MultipleReplace.ExportRulesTitle;
saveFileDialogStyle.Filter = LanguageSettings.Current.MultipleReplace.Rules + "|*.template";
saveFileDialogStyle.OverwritePrompt = true;
if (saveFileDialogStyle.ShowDialog(this) == DialogResult.OK)
{