Fix unneeded "Save as" - thx Leon :)

Fix #5515
This commit is contained in:
niksedk 2021-11-23 07:49:44 +01:00
parent d721af346d
commit 1d26b55b04
2 changed files with 9 additions and 2 deletions

View File

@ -12,13 +12,15 @@
* Update Bulgarian translation - thx Калин
* Update Finish translation - thx Teijo
* Update Portuguese translation - thx hugok79
* Update Chinese translation - thx nkh0472
* Update Hungarian translation - thx Zityi
* Video from url - try to make it easier to use (auto dl youtube-dl/ffmpeg)
* Remember last chosen video offset - thx OmrSi
* Add "Count" label in "Go to bookmark" - thx OmrSi
* Speed up slow loading mp4 without subs as sub - thx Leon
* Auto-load audio file after import plain text - thx Leon
* "Remove scene changes" now has overview window w export - thx Marek/PM
* Remember "show video controls" + context menu - thx Leon
* Remember "show video controls" + toggle context menu item - thx Leon
* FIXED:
* Fix selected line in "set start and offset the rest" - thx Janusz/Tom
* Fix waveform syntax coloring after move - thx Leon

View File

@ -5047,7 +5047,12 @@ namespace Nikse.SubtitleEdit.Forms
var oldFormat = _currentSubtitleFormat;
_currentSubtitleFormat = newFormat;
MakeFormatChange(newFormat, oldFormat);
_converted = _currentSubtitleFormat != null;
_converted = _currentSubtitleFormat != null;
if (_converted && _subtitle.OriginalFormat == newFormat && File.Exists(_fileName))
{
_converted = false;
};
_formatManuallyChanged = _converted;
}
}