mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
More format change stuff
This commit is contained in:
parent
40e04f5045
commit
accf7b745a
@ -2223,7 +2223,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
_lastChangedToFormat = format.FriendlyName;
|
||||
UpdateSourceView();
|
||||
if (_converted && _subtitle?.Paragraphs.Count > 0)
|
||||
if (_converted && _subtitle?.Paragraphs.Count > 0 && oldFormat != null)
|
||||
{
|
||||
ShowStatus(string.Format(_language.ConvertedToX, format.FriendlyName));
|
||||
}
|
||||
@ -5079,7 +5079,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
if (_currentSubtitleFormat == null)
|
||||
{
|
||||
_currentSubtitleFormat = Utilities.GetSubtitleFormatByFriendlyName(comboBoxSubtitleFormats.SelectedItem.ToString());
|
||||
MakeFormatChange(null, _currentSubtitleFormat);
|
||||
MakeFormatChange(_currentSubtitleFormat, _oldSubtitleFormat);
|
||||
}
|
||||
|
||||
return _currentSubtitleFormat;
|
||||
|
Loading…
Reference in New Issue
Block a user