From bc3f369e90f6f500970b3150e59a401383d1a4b3 Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Sat, 27 Apr 2024 20:10:27 +0200 Subject: [PATCH] Do not auto-set assa style for existing ASSA files Fix #8249 --- src/ui/Forms/Main.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/Forms/Main.cs b/src/ui/Forms/Main.cs index 6177b58b1..6d71dfd50 100644 --- a/src/ui/Forms/Main.cs +++ b/src/ui/Forms/Main.cs @@ -23574,7 +23574,9 @@ namespace Nikse.SubtitleEdit.Forms private void SetAssaResolutionWithChecks() { - if (Configuration.Settings.SubtitleSettings.AssaResolutionAutoNew && IsAssa() && _videoInfo?.Height > 0) + if (Configuration.Settings.SubtitleSettings.AssaResolutionAutoNew && + string.IsNullOrEmpty(_subtitle?.Header) && + IsAssa() && _videoInfo?.Height > 0) { if (string.IsNullOrEmpty(_subtitle?.Header)) {