Added not null operators

This commit is contained in:
tsommer committed 2022-10-30 16:23:59 +01:00
1 parent 838fbdf94e
commit c77bf8bd96
1 file changed
+1 -1
@@ -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:
var setting = (Setting) ((Control) sender).Parent.Parent.Parent;
var setting = (Setting) (((Control) sender!)!).Parent.Parent.Parent;
setting.UpdateExplanation();
};