Browse Source

Fixed display of file names with underscore in the document list dropdown.

http://community.sharpdevelop.net/forums/t/15815.aspx
pull/28/head
Daniel Grunwald 13 years ago
parent
commit
0ffd4fa4e1
  1. 2
      src/Libraries/AvalonDock/AvalonDock/DocumentPane.cs

2
src/Libraries/AvalonDock/AvalonDock/DocumentPane.cs

@ -369,7 +369,7 @@ namespace AvalonDock @@ -369,7 +369,7 @@ namespace AvalonDock
{
cxMenuDocuments.Items.Add(new MenuItem()
{
Header = c.Title,
Header = c.Title.Replace("_", "__"),
Command = ManagedContentCommands.Activate,
CommandTarget = c,
Icon = new Image()

Loading…
Cancel
Save