Entities: Use 'required' and '= null!' to get rid of warnings
This commit is contained in:
1 parent
53a25b3be4
commit
f922388db9
40 files changed
+142
-155
No files matched your search
@@ -103,7 +103,9 @@ namespace Elwig.Windows {
|
||||
_modChanged = true;
|
||||
var idx = (SeasonModifierList.SelectedIndex != -1) ? SeasonModifierList.SelectedIndex + 1 : _modList.Count;
|
||||
var item = new Modifier {
|
||||
Year = s.Year
|
||||
Year = s.Year,
|
||||
ModId = "",
|
||||
Name = "",
|
||||
};
|
||||
_modList.Insert(idx, item);
|
||||
SeasonModifierList.SelectedIndex = idx;
|
||||
|
||||
Reference in new issue
Block a user