mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 12:44:46 +01:00
Fix for visual sync start/end time validation - thx improck :)
Fix #8652
This commit is contained in:
parent
3deb067157
commit
82c650a9dd
@ -20,6 +20,7 @@
|
||||
* Fix crash in "Whisper Audio to text" if no audio - thx morrellaberdeen
|
||||
* Fix running "Faster-Whisper-XXL" without "Faster-Whisper" - thx shanedk
|
||||
* Fix crash in "Fix common errors" - thx Hardstylest
|
||||
* Fix for visual sync start/end time validation - thx improck
|
||||
|
||||
|
||||
4.0.7 (8th July 2024)
|
||||
|
@ -457,7 +457,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
double subEnd = _paragraphs[comboBoxEndTexts.SelectedIndex].StartTime.TotalMilliseconds / TimeCode.BaseUnit;
|
||||
|
||||
// Both end times must be greater than start time.
|
||||
if (!(videoPlayerCurrentEndPos > videoPlayerCurrentStartPos && subEnd > videoPlayerCurrentStartPos) ||
|
||||
if (!(videoPlayerCurrentEndPos > videoPlayerCurrentStartPos && subEnd > subStart) ||
|
||||
comboBoxStartTexts.SelectedIndex >= comboBoxEndTexts.SelectedIndex)
|
||||
{
|
||||
MessageBox.Show(_language.StartSceneMustComeBeforeEndScene, "", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
|
Loading…
Reference in New Issue
Block a user