]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Minor correction.
authoradv <adv@opencascade.com>
Fri, 13 Dec 2013 08:39:17 +0000 (08:39 +0000)
committeradv <adv@opencascade.com>
Fri, 13 Dec 2013 08:39:17 +0000 (08:39 +0000)
src/HYDROGUI/HYDROGUI_Poly3DDlg.cxx

index ed4f67f30022a88f4e9547f38ce8f23d9fde470e..36ec02cddd642ae4dd9b9a465480c477ff7d75d0 100644 (file)
@@ -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 )