Added not null operators
This commit is contained in:
parent
838fbdf94e
commit
c77bf8bd96
@ -212,7 +212,7 @@ public sealed partial class Setting : UserControl
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Update the explanation text. Therefore, we need to get the setting object through the chain of parents:
|
// Update the explanation text. Therefore, we need to get the setting object through the chain of parents:
|
||||||
var setting = (Setting) ((Control) sender).Parent.Parent.Parent;
|
var setting = (Setting) (((Control) sender!)!).Parent.Parent.Parent;
|
||||||
setting.UpdateExplanation();
|
setting.UpdateExplanation();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user