mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 14:25:16 +00:00
Tray sensor display default color is black and color can be changed now. Fixed CPU load reading for AMD CPUs and added additional misc device for AMD core temperature reading.
This commit is contained in:
@@ -253,10 +253,9 @@ namespace OpenHardwareMonitor.GUI {
|
||||
Config.Set("mainForm.Width", Width);
|
||||
Config.Set("mainForm.Height", Height);
|
||||
}
|
||||
|
||||
|
||||
sensorSystemTray.Dispose();
|
||||
notifyIcon.Dispose();
|
||||
|
||||
computer.Close();
|
||||
}
|
||||
|
||||
@@ -315,7 +314,7 @@ namespace OpenHardwareMonitor.GUI {
|
||||
} else {
|
||||
ToolStripMenuItem item = new ToolStripMenuItem("Add To Tray");
|
||||
item.Click += delegate(object obj, EventArgs args) {
|
||||
sensorSystemTray.Add(node.Sensor);
|
||||
sensorSystemTray.Add(node.Sensor, true);
|
||||
};
|
||||
sensorContextMenuStrip.Items.Add(item);
|
||||
}
|
||||
|
Reference in New Issue
Block a user