Update LibreHardwareMonitor
All checks were successful
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Successful in 3m10s
All checks were successful
Deploy to Gitea Releases / deploy-to-gitea-releases (push) Successful in 3m10s
- Some nullability updates
This commit is contained in:
@@ -58,12 +58,12 @@
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel>
|
||||
<TextBlock Text="{Binding Path=Hardware.Type}"
|
||||
<TextBlock Text="{Binding Path=Hardware.Type, FallbackValue=null}"
|
||||
Height="Auto"
|
||||
FontSize="10"
|
||||
VerticalAlignment="Center"
|
||||
Margin="0,2,0,2" />
|
||||
<TextBlock Text="{Binding Path=Hardware.Name}"
|
||||
<TextBlock Text="{Binding Path=Hardware.Name, FallbackValue=null}"
|
||||
Height="Auto"
|
||||
VerticalAlignment="Center" />
|
||||
</StackPanel>
|
||||
@@ -75,12 +75,12 @@
|
||||
<DataGridTemplateColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel>
|
||||
<TextBlock Text="{Binding Path=Sensor.Type}"
|
||||
<TextBlock Text="{Binding Path=Sensor.Type, FallbackValue=null}"
|
||||
Height="Auto"
|
||||
FontSize="10"
|
||||
VerticalAlignment="Center"
|
||||
Margin="0,2,0,2" />
|
||||
<TextBlock Text="{Binding Path=Sensor.Name}"
|
||||
<TextBlock Text="{Binding Path=Sensor.Name, FallbackValue=null}"
|
||||
Height="Auto"
|
||||
VerticalAlignment="Center" />
|
||||
</StackPanel>
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ public partial class SensorWindow
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public bool? Display(SensorEntry sensorEntry, Window owner)
|
||||
public bool? Display(SensorEntry sensorEntry, Window? owner)
|
||||
{
|
||||
DataContext = sensorEntry;
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using System.Windows;
|
||||
using System.Windows.Input;
|
||||
using HardwareMonitorStatusWindow.StatusWindow;
|
||||
|
||||
namespace HardwareMonitorStatusWindow.StatusWindow.SettingsWindow;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user