From 35d5faff7309a1b6d8dfd33c62711e49229260f4 Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Sun, 8 Nov 2020 16:05:13 +0100 Subject: [PATCH] Fix title change asteriks --- src/Forms/Main.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Forms/Main.cs b/src/Forms/Main.cs index 26e71a5adb..9851d53a38 100644 --- a/src/Forms/Main.cs +++ b/src/Forms/Main.cs @@ -18913,12 +18913,17 @@ private void ButtonStartOneMinuteAheadClick(object sender, EventArgs e) private void ShowSubtitleTimerTick(object sender, EventArgs e) { + ShowSubtitleTimer.Stop(); + if (_subtitle == null || _subtitle.Paragraphs.Count == 0) { - return; + ShowSubtitleTimer.Interval = 250; + } + else + { + ShowSubtitleTimer.Interval = 17; } - ShowSubtitleTimer.Stop(); if (mediaPlayer.VideoPlayer != null) { int oldIndex = FirstSelectedIndex;