mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Fixed not showing changed duration when changing start/end in waveform - thx Herman/Mirko :)
This commit is contained in:
parent
e733860ff9
commit
9b13684fa0
@ -917,6 +917,8 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
item.SubItems[ColumnIndexEnd].Text = "-";
|
||||
else
|
||||
item.SubItems[ColumnIndexEnd].Text = paragraph.EndTime.ToHHMMSSFF();
|
||||
|
||||
item.SubItems[ColumnIndexDuration].Text = string.Format("{0},{1:00}", paragraph.Duration.Seconds, Logic.SubtitleFormats.SubtitleFormat.MillisecondsToFramesMaxFrameRate(paragraph.Duration.Milliseconds));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -929,6 +931,8 @@ namespace Nikse.SubtitleEdit.Controls
|
||||
item.SubItems[ColumnIndexEnd].Text = "-";
|
||||
else
|
||||
item.SubItems[ColumnIndexEnd].Text = paragraph.EndTime.ToString();
|
||||
|
||||
item.SubItems[ColumnIndexDuration].Text = string.Format("{0},{1:000}", paragraph.Duration.Seconds, paragraph.Duration.Milliseconds);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user