From f0502ffc616dbbdcf03955db10f9186ae3695282 Mon Sep 17 00:00:00 2001 From: niksedk Date: Wed, 2 Aug 2023 06:05:06 +0200 Subject: [PATCH] Fix UI bug in TS subtitle chooser --- Dictionaries/en_US_se.xml | 3 +++ Dictionaries/names.xml | 1 + src/ui/Forms/TransportStreamSubtitleChooser.cs | 3 +++ 3 files changed, 7 insertions(+) diff --git a/Dictionaries/en_US_se.xml b/Dictionaries/en_US_se.xml index 7ae4b6bc1..6b2e9d6f1 100644 --- a/Dictionaries/en_US_se.xml +++ b/Dictionaries/en_US_se.xml @@ -818,4 +818,7 @@ headspace shitholes underserved + creampied + dovey + lovey–dovey \ No newline at end of file diff --git a/Dictionaries/names.xml b/Dictionaries/names.xml index dc07ebbe0..f07ea2f6a 100644 --- a/Dictionaries/names.xml +++ b/Dictionaries/names.xml @@ -4865,6 +4865,7 @@ This file is case sensitive. Sayaka Sayid Sayyid + Sayuri Scarlet Scarlett Scavo diff --git a/src/ui/Forms/TransportStreamSubtitleChooser.cs b/src/ui/Forms/TransportStreamSubtitleChooser.cs index 1ef186de5..55d68f281 100644 --- a/src/ui/Forms/TransportStreamSubtitleChooser.cs +++ b/src/ui/Forms/TransportStreamSubtitleChooser.cs @@ -133,8 +133,10 @@ namespace Nikse.SubtitleEdit.Forms var item = (StreamTrackItem)listBoxTracks.SelectedItem; if (item.IsTeletext) { + listBoxSubtitles.Visible = false; textBoxTeletext.Visible = true; textBoxTeletext.Text = item.Srt; + textBoxTeletext.BringToFront(); IsTeletext = true; Srt = item.Srt; return; @@ -158,6 +160,7 @@ namespace Nikse.SubtitleEdit.Forms { listBoxSubtitles.SelectedIndex = 0; } + listBoxSubtitles.Visible = true; } private void listBoxSubtitles_SelectedIndexChanged(object sender, EventArgs e)