summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2021-01-07 23:16:45 -0800
committerJacob Palecki <[email protected]>2021-01-07 23:16:45 -0800
commit0fc716f6529c97aa77a53762785603158dc680ac (patch)
tree41991be492f46073c357a94ab4cffccbcef9e74e
parentInclude csproj as well (diff)
downloadrawaccel-0fc716f6529c97aa77a53762785603158dc680ac.tar.xz
rawaccel-0fc716f6529c97aa77a53762785603158dc680ac.zip
Small behavior improvements
-rw-r--r--grapher/Models/Devices/DeviceIDManager.cs3
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();
}
}