From b4fbd78b5e8e5b43a3e9af9a81c33acb453ee16d Mon Sep 17 00:00:00 2001 From: maforget <11904426+maforget@users.noreply.github.com> Date: Tue, 25 Jun 2024 18:50:50 -0400 Subject: [PATCH] Make ampersands (&) show when using Show in List. --- ComicRack/Views/ComicBrowserControl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ComicRack/Views/ComicBrowserControl.cs b/ComicRack/Views/ComicBrowserControl.cs index 854f78e..1080194 100644 --- a/ComicRack/Views/ComicBrowserControl.cs +++ b/ComicRack/Views/ComicBrowserControl.cs @@ -2993,7 +2993,7 @@ where l.GetBooks().Contains(cb) this.Invoke(delegate { ToolStripMenuItem value = ((count != maxLists) - ? new ToolStripMenuItem(prefix + li.Name, GetComicListImage(li), delegate{ ShowBookInList(li, cb); }) + ? new ToolStripMenuItem(prefix + li.Name.Replace("&", "&&"), GetComicListImage(li), delegate{ ShowBookInList(li, cb); }) : new ToolStripMenuItem("...") { Enabled = false }); menu.DropDownItems.Insert(menu.DropDownItems.Count - 1, value); });