mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-31 06:15:08 +00:00
Fixed some hardware sorting issue in the gadget. Hardware with the same type and name would be added to the same section.
This commit is contained in:
@@ -101,8 +101,8 @@ namespace OpenHardwareMonitor.Hardware {
|
||||
}
|
||||
|
||||
public static bool operator ==(Identifier id1, Identifier id2) {
|
||||
if (id1 == null)
|
||||
return id2 == null;
|
||||
if (id1.Equals(null))
|
||||
return id2.Equals(null);
|
||||
else
|
||||
return id1.Equals(id2);
|
||||
}
|
||||
|
Reference in New Issue
Block a user