Fixed the power sensor display in the desktop gadget.

This commit is contained in:
Michael Möller 2011-07-28 21:51:02 +00:00
parent 70c338cc63
commit d7eebcf1ad

View File

@ -515,6 +515,9 @@ namespace OpenHardwareMonitor.GUI {
case SensorType.Flow:
format = "{0:F0} L/h";
break;
case SensorType.Power:
format = "{0:F1} W";
break;
}
if (sensor.SensorType == SensorType.Temperature &&