Added not null operators

This commit is contained in:
Thorsten Sommer 2022-10-30 16:23:59 +01:00
parent 838fbdf94e
commit c77bf8bd96
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -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();
}; };