Remove SceneChanges file when removing the last scene change

This commit is contained in:
OmrSi 2020-10-20 19:47:46 +03:00
parent d2dfa5d37d
commit dbc2b2ca5b

View File

@ -14736,6 +14736,10 @@ namespace Nikse.SubtitleEdit.Forms
if (idx >= 0)
{
RemoveSceneChange(idx);
if (audioVisualizer.SceneChanges.Count == 0)
{
SceneChangeHelper.DeleteSceneChanges(_videoFileName);
}
}
else
{ // add scene change