Skip to content

Commit

Permalink
fixed small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
stany24 committed Mar 10, 2024
1 parent d22fa23 commit c98470e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Flexion/ViewModels/MaterialViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ public string SelectedUnit {
}
}

private double _eValue = 69;
private double? _eValue = 69;

public double EValue
public double? EValue
{
get => _eValue;
set
{
_eValue = value;
_eValue = value ?? 0;
MaterialEChanged();
}
}
Expand Down

0 comments on commit c98470e

Please sign in to comment.