Update LibreHardwareMonitor
All checks were successful
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Successful in 3m10s

- Some nullability updates
This commit is contained in:
2026-02-27 13:46:06 -05:00
parent 4cd7e74923
commit afa7bd987a
11 changed files with 58 additions and 38 deletions

View File

@@ -7,7 +7,7 @@ namespace HardwareMonitorStatusWindow.StatusWindow.SettingsWindow;
public partial class HardwareSettingsPanel
{
private CollectionViewSource _collectionViewSource;
private CollectionViewSource? _collectionViewSource;
public HardwareSettingsPanel()
{
@@ -105,7 +105,7 @@ public partial class HardwareSettingsPanel
SensorDataGrid.SelectedItems.CopyTo(selectedItems, 0);
foreach (var sensorEntry in selectedItems)
Data.SensorEntries.Remove(sensorEntry);
Data.SensorEntries?.Remove(sensorEntry);
SetSensorButtonStates();
}