Added not null operators
This commit is contained in:
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();
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user