Skip to content

Commit

Permalink
Make ampersands (&) show when using Show in List.
Browse files Browse the repository at this point in the history
  • Loading branch information
maforget committed Jun 25, 2024
1 parent e014052 commit b4fbd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ComicRack/Views/ComicBrowserControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit b4fbd78

Please sign in to comment.