diff --git a/src/ui/Forms/GenerateVideoWithHardSubs.cs b/src/ui/Forms/GenerateVideoWithHardSubs.cs index 7bedaeca6..95f9335b8 100644 --- a/src/ui/Forms/GenerateVideoWithHardSubs.cs +++ b/src/ui/Forms/GenerateVideoWithHardSubs.cs @@ -277,14 +277,7 @@ namespace Nikse.SubtitleEdit.Forms { checkBoxRightToLeft.Enabled = false; labelProgress.Text = LanguageSettings.Current.Main.NoSubtitleLoaded; - if (Configuration.Settings.General.UseDarkTheme) - { - labelProgress.ForeColor = Color.Yellow; - } - else - { - labelProgress.ForeColor = Color.DarkGoldenrod; - } + labelProgress.ForeColor = Configuration.Settings.General.UseDarkTheme ? Color.Yellow : Color.DarkGoldenrod; } }