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
Abort document operation after error in process apply (Bug #340).
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_Operation.h
diff --git
a/src/HYDROGUI/HYDROGUI_Operation.h
b/src/HYDROGUI/HYDROGUI_Operation.h
index 69cab654ccde1607d2b479171b5237ec469cb72e..5388d34b5b95aea64561291efcbe5a3acf025ed0 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_Operation.h
+++ b/
src/HYDROGUI/HYDROGUI_Operation.h
@@
-72,6
+72,8
@@
protected:
Handle_HYDROData_Document doc() const;
+ virtual bool isToAbortOnApply() const { return true; }
+
void printErrorMessage( const QString& theErrorMsg );
void setPrintErrorMessage( const bool theIsPrint );