Salome HOME
projects
/
modules
/
hydro.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc34ffa
)
Do not take into account selected objects which are not profiles.
author
mzn
<mzn@opencascade.com>
Thu, 5 Dec 2013 10:24:46 +0000
(10:24 +0000)
committer
mzn
<mzn@opencascade.com>
Thu, 5 Dec 2013 10:24:46 +0000
(10:24 +0000)
src/HYDROGUI/HYDROGUI_StreamOp.cxx
patch
|
blob
|
history
diff --git
a/src/HYDROGUI/HYDROGUI_StreamOp.cxx
b/src/HYDROGUI/HYDROGUI_StreamOp.cxx
index ba88999270a8c94396d137e3824a6f303bd94961..f23b1c03a614b67907772463e8d9081efa6a05c6 100755
(executable)
--- 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" );