mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-20 21:43:08 +00:00
Replace '_' with '__' in network names on toolbar menu in Windows
Otherwise WPF gobbles up the underscores
This commit is contained in:
parent
12a6a2f2d2
commit
c53d140145
@ -108,7 +108,7 @@ namespace WinUI
|
||||
foreach (ZeroTierNetwork n in networks)
|
||||
{
|
||||
MenuItem item = new MenuItem();
|
||||
item.Header = n.Title;
|
||||
item.Header = n.Title.Replace("_", "__");
|
||||
item.DataContext = n;
|
||||
item.IsChecked = n.IsConnected;
|
||||
item.Click += ToolbarItem_NetworkClicked;
|
||||
|
Loading…
Reference in New Issue
Block a user