[FEM] remove superfluous nullptr checks

This commit is contained in:
Uwe
2022-07-18 01:45:19 +02:00
parent 5f8e0c46ee
commit fc548a4b34
23 changed files with 30 additions and 30 deletions

View File

@@ -66,7 +66,7 @@ bool ViewProviderFemConstraintSpring::setEdit(int ModNum)
if (constrDlg && constrDlg->getConstraintView() != this)
constrDlg = nullptr; // another constraint left open its task panel
if (dlg && !constrDlg) {
if (constraintDialog != nullptr) {
if (constraintDialog) {
// Ignore the request to open another dialog
return false;
} else {