Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug #168: filter for invalid polyline.
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_Operation.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_Operation.cxx
b/src/HYDROGUI/HYDROGUI_Operation.cxx
index bdbd6fa05ffd1c86b4ea310a681dbf3f63b3ac1a..cd2ac6849a993eed670e8b5dad3bf86dae7263c9 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_Operation.cxx
+++ b/
src/HYDROGUI/HYDROGUI_Operation.cxx
@@
-208,7
+208,10
@@
void HYDROGUI_Operation::onApply()
}
else
{
- abortDocOperation();
+ // Abort document opeartion only if requested
+ if ( isToAbortOnApply() )
+ abortDocOperation();
+
printErrorMessage( anErrorMsg );
// If the operation has no input panel - do abort