Do not auto-set assa style for existing ASSA files

Fix  #8249
This commit is contained in:
Nikolaj Olsson 2024-04-27 20:10:27 +02:00
parent 1946176eef
commit bc3f369e90

View File

@ -23574,7 +23574,9 @@ namespace Nikse.SubtitleEdit.Forms
private void SetAssaResolutionWithChecks() 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)) if (string.IsNullOrEmpty(_subtitle?.Header))
{ {