X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_Poly3DDlg.cxx;h=36ec02cddd642ae4dd9b9a465480c477ff7d75d0;hb=81c9f5cdf82909d0aebd2c491c50fa7516cc80b7;hp=ed4f67f30022a88f4e9547f38ce8f23d9fde470e;hpb=744516a87297bacc7bd9c4d86f0898f1ca455793;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_Poly3DDlg.cxx b/src/HYDROGUI/HYDROGUI_Poly3DDlg.cxx index ed4f67f3..36ec02cd 100644 --- a/src/HYDROGUI/HYDROGUI_Poly3DDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_Poly3DDlg.cxx @@ -121,7 +121,7 @@ bool HYDROGUI_Poly3DDlg::getSelectedObjects( QString& theNamePoly, 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 )