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
{ {
cxMenuDocuments.Items.Add(new MenuItem() cxMenuDocuments.Items.Add(new MenuItem()
{ {
Header = c.Title, Header = c.Title.Replace("_", "__"),
Command = ManagedContentCommands.Activate, Command = ManagedContentCommands.Activate,
CommandTarget = c, CommandTarget = c,
Icon = new Image() Icon = new Image()

Loading…
Cancel
Save