theNamePoly = myPolyline->GetName();
theNameProfile = myProfile->GetName();
theNameBath = myBath->GetName();
- return !theNamePoly.isEmpty() && ( !theNameProfile.isEmpty() || theNameBath.isEmpty() );
+ return !theNamePoly.isEmpty() && ( !theNameProfile.isEmpty() || !theNameBath.isEmpty() );
}
void HYDROGUI_Poly3DDlg::setPreselectedObject( const QString& theName )