Salome HOME
refs #430: incorrect coordinates in dump polyline
[modules/hydro.git] / 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 )