]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Do not take into account selected objects which are not profiles.
authormzn <mzn@opencascade.com>
Thu, 5 Dec 2013 10:24:46 +0000 (10:24 +0000)
committermzn <mzn@opencascade.com>
Thu, 5 Dec 2013 10:24:46 +0000 (10:24 +0000)
src/HYDROGUI/HYDROGUI_StreamOp.cxx

index ba88999270a8c94396d137e3824a6f303bd94961..f23b1c03a614b67907772463e8d9081efa6a05c6 100755 (executable)
@@ -273,7 +273,8 @@ void HYDROGUI_StreamOp::onAddProfiles()
   }
  
   // Show message box with the ignored profiles
-  if ( aVerifiedProfiles.Length() < aSelectedProfiles.Length() ) {
+  if ( !anInvalidProfiles.isEmpty() || !anExistingProfiles.isEmpty() ||
+       !aHasNoIntersectionProfiles.isEmpty() ) {
     QString aMessage = tr( "IGNORED_PROFILES" );
     if ( !anInvalidProfiles.isEmpty() ) {
       aMessage.append( "\n\n" );