From 78a978d7e15163f22f2d6b0f246602925b1f0b9a Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Wed, 5 Jun 2024 06:40:56 +0200 Subject: [PATCH] Fix theme issues with regex context menu --- src/ui/Logic/FindReplaceDialogHelper.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ui/Logic/FindReplaceDialogHelper.cs b/src/ui/Logic/FindReplaceDialogHelper.cs index 600e17afc..a42aa2350 100644 --- a/src/ui/Logic/FindReplaceDialogHelper.cs +++ b/src/ui/Logic/FindReplaceDialogHelper.cs @@ -302,6 +302,12 @@ namespace Nikse.SubtitleEdit.Logic cm.Items.Add(l.OneOrMore, null, delegate { textBox.SelectedText = "+"; }); cm.Items.Add(l.InCharacterGroup, null, delegate { textBox.SelectedText = "[test]"; }); cm.Items.Add(l.NotInCharacterGroup, null, delegate { textBox.SelectedText = "[^test]"; }); + + if (Configuration.Settings.General.UseDarkTheme) + { + DarkTheme.SetDarkTheme(cm); + } + return cm; }