From 240521de7f31918d82ca00f0a3480a3d877a97c6 Mon Sep 17 00:00:00 2001 From: mzn Date: Thu, 5 Dec 2013 10:24:46 +0000 Subject: [PATCH] Do not take into account selected objects which are not profiles. --- src/HYDROGUI/HYDROGUI_StreamOp.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/HYDROGUI/HYDROGUI_StreamOp.cxx b/src/HYDROGUI/HYDROGUI_StreamOp.cxx index ba889992..f23b1c03 100755 --- a/src/HYDROGUI/HYDROGUI_StreamOp.cxx +++ b/src/HYDROGUI/HYDROGUI_StreamOp.cxx @@ -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" ); -- 2.39.2