X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_CalculationDlg.cxx;h=1133fcb18dfe23ac9d75924a4559c0de2d4e3187;hb=58bb6b7459bebeeb089c9ed486c4683a8bae7288;hp=c17352746b40293b725b4f4464f057b460d1b539;hpb=6befa9f9669377349a681a5ca4a12b8d256cf476;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_CalculationDlg.cxx b/src/HYDROGUI/HYDROGUI_CalculationDlg.cxx index c1735274..1133fcb1 100644 --- a/src/HYDROGUI/HYDROGUI_CalculationDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_CalculationDlg.cxx @@ -19,7 +19,7 @@ #include "HYDROGUI_CalculationDlg.h" #include "HYDROGUI_ObjSelector.h" -#include "HYDROGUI_Tool.h" +#include "HYDROGUI_Tool2.h" #include "HYDROGUI_DataBrowser.h" #include "HYDROGUI_DataModel.h" #include "HYDROGUI_ListSelector.h" @@ -671,7 +671,7 @@ QStringList HYDROGUI_CalculationDlg::getSelectedAvailableGeomObjects() const void HYDROGUI_CalculationDlg::setEditedObject( const Handle(HYDROData_CalculationCase) theCase ) { myEditedObject = theCase; - myValidator->setEditedObject( theCase ); + myValidator->setEditedObject( myEditedObject ); // Build the calculation case subtree module()->getDataModel()->buildCaseTree( myBrowser->root(), myEditedObject);