From 63f3340b5dbf48fe8128fdb0190d329b12499023 Mon Sep 17 00:00:00 2001 From: adv Date: Fri, 13 Dec 2013 08:39:17 +0000 Subject: [PATCH] Minor correction. --- src/HYDROGUI/HYDROGUI_Poly3DDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.39.2