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
refs #727, #736: fix for the first bug and for the second part (Bug2) of the last...
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_DeleteOp.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_DeleteOp.cxx
b/src/HYDROGUI/HYDROGUI_DeleteOp.cxx
index deafdfff5965dee4c9d5f26642e3e76705947202..8425cb1d8e1181f7b6c4e1d0a97a51e5545414c5 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_DeleteOp.cxx
+++ b/
src/HYDROGUI/HYDROGUI_DeleteOp.cxx
@@
-21,6
+21,7
@@
#include "HYDROGUI_DeleteDlg.h"
#include "HYDROGUI_Module.h"
#include "HYDROGUI_Tool.h"
#include "HYDROGUI_DeleteDlg.h"
#include "HYDROGUI_Module.h"
#include "HYDROGUI_Tool.h"
+#include "HYDROGUI_Tool2.h"
#include "HYDROGUI_UpdateFlags.h"
#include <HYDROData_Object.h>
#include "HYDROGUI_UpdateFlags.h"
#include <HYDROData_Object.h>
@@
-84,7
+85,7
@@
void HYDROGUI_DeleteOp::startOperation()
// check the back-references
QMap<QString,HYDROData_SequenceOfObjects> aBackObjects =
// check the back-references
QMap<QString,HYDROData_SequenceOfObjects> aBackObjects =
- HYDROGUI_Tool::GetObjectsBackReferences(
module
(), anObjNames );
+ HYDROGUI_Tool::GetObjectsBackReferences(
doc
(), anObjNames );
QMap<QString,HYDROData_SequenceOfObjects>::const_iterator anIt = aBackObjects.begin(),
aLast = aBackObjects.end();
QMap<QString,HYDROData_SequenceOfObjects>::const_iterator anIt = aBackObjects.begin(),
aLast = aBackObjects.end();