From aebae5a9b7438e59e6a75001b86695fd31ed6518 Mon Sep 17 00:00:00 2001 From: OmrSi Date: Thu, 10 Jun 2021 20:11:20 +0300 Subject: [PATCH] Change marked lines color in Remove HI --- src/ui/Forms/RemoveTextForHearImpaired.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/Forms/RemoveTextForHearImpaired.cs b/src/ui/Forms/RemoveTextForHearImpaired.cs index e89f6bd49..9554384a5 100644 --- a/src/ui/Forms/RemoveTextForHearImpaired.cs +++ b/src/ui/Forms/RemoveTextForHearImpaired.cs @@ -22,6 +22,7 @@ namespace Nikse.SubtitleEdit.Forms private readonly List _unchecked = new List(); private readonly List _edited = new List(); private readonly List _editedOld = new List(); + private static readonly Color _listBackMarkColor = Configuration.Settings.General.UseDarkTheme? Color.PaleVioletRed : Color.PeachPuff; public FormRemoveTextForHearImpaired(Main main, Subtitle subtitle) { @@ -145,7 +146,7 @@ namespace Nikse.SubtitleEdit.Forms if (_removeTextForHiLib.Warnings != null && _removeTextForHiLib.Warnings.Contains(_removeTextForHiLib.WarningIndex)) { item.UseItemStyleForSubItems = true; - item.BackColor = Color.PeachPuff; + item.BackColor = _listBackMarkColor; } item.SubItems.Add(p.Number.ToString(CultureInfo.InvariantCulture)); item.SubItems.Add(UiUtil.GetListViewTextFromString(p.Text));