diff options
| author | a1xd <[email protected]> | 2021-02-02 23:28:51 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-02 23:28:51 -0500 |
| commit | 59e86a6d6c2f6604f3c413b7c55ef484c607dfaf (patch) | |
| tree | 688c572bb39ae26f1c86a2c3301bd59130f90e71 /grapher/Models/Devices/DeviceIDItem.cs | |
| parent | bump version (diff) | |
| parent | fix typos in guide (diff) | |
| download | rawaccel-1.4.2.tar.xz rawaccel-1.4.2.zip | |
Merge pull request #71 from a1xd/fix-dev-idv1.4.2
1.4.2
Diffstat (limited to 'grapher/Models/Devices/DeviceIDItem.cs')
| -rw-r--r-- | grapher/Models/Devices/DeviceIDItem.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grapher/Models/Devices/DeviceIDItem.cs b/grapher/Models/Devices/DeviceIDItem.cs index 63c2761..8f1587b 100644 --- a/grapher/Models/Devices/DeviceIDItem.cs +++ b/grapher/Models/Devices/DeviceIDItem.cs @@ -40,7 +40,7 @@ namespace grapher.Models.Devices DeviceIDMenuItem.Checked = false; } - private string MenuItemText() => string.IsNullOrEmpty(ID) ? $"{Name}" : $"{Name}: {ID}"; + private string MenuItemText() => string.IsNullOrEmpty(ID) ? $"{Name}" : ID.Replace("&", "&&"); private string DisconnectedText() => $"Disconnected: {ID}"; |