diff options
| author | Jacob Palecki <[email protected]> | 2021-01-07 23:16:45 -0800 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2021-01-07 23:16:45 -0800 |
| commit | 0fc716f6529c97aa77a53762785603158dc680ac (patch) | |
| tree | 41991be492f46073c357a94ab4cffccbcef9e74e | |
| parent | Include csproj as well (diff) | |
| download | rawaccel-0fc716f6529c97aa77a53762785603158dc680ac.tar.xz rawaccel-0fc716f6529c97aa77a53762785603158dc680ac.zip | |
Small behavior improvements
| -rw-r--r-- | grapher/Models/Devices/DeviceIDManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grapher/Models/Devices/DeviceIDManager.cs b/grapher/Models/Devices/DeviceIDManager.cs index 00e7f9d..d0a90a2 100644 --- a/grapher/Models/Devices/DeviceIDManager.cs +++ b/grapher/Models/Devices/DeviceIDManager.cs @@ -14,6 +14,7 @@ namespace grapher.Models.Devices public DeviceIDManager(ToolStripMenuItem deviceIDs) { DeviceIDsMenuItem = deviceIDs; + DeviceIDsMenuItem.Checked = false; } public ToolStripMenuItem DeviceIDsMenuItem { get; } @@ -58,7 +59,6 @@ namespace grapher.Models.Devices { var nonEmptyHwid = !string.IsNullOrWhiteSpace(hwid); - DeviceIDsMenuItem.Checked = nonEmptyHwid; DeviceIDsMenuItem.DropDownItems.Clear(); var anyDevice = new DeviceIDItem("Any", string.Empty, this); if (!nonEmptyHwid) @@ -83,6 +83,7 @@ namespace grapher.Models.Devices { var deviceItem = new DeviceIDItem(string.Empty, hwid, this); deviceItem.SetDisconnected(); + anyDevice.SetActivated(); } } |