[FEM] remove superfluous nullptr checks
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user