#include <QStatusBar>
#include <QCursor>
-//#define _DEVDEBUG_
+#define _DEVDEBUG_
#include "HYDRO_trace.hxx"
static int ViewManagerId = 0;
myViewManagerMap.clear();
bool ret = LightApp_Module::deactivateModule( theStudy );
- HYDROGUI_DataModel* aModel = getDataModel();
- if (aModel->isAboutToClose())
- {
+ return ret;
+}
+
+void HYDROGUI_Module::studyClosed(SUIT_Study* theStudy)
+{
+ DEBTRACE("HYDROGUI_Module::studyClosed");
Handle(HYDROData_Document) aDoc = HYDROData_Document::Document();
if (!aDoc.IsNull())
aDoc->Close();
- }
- return ret;
}
void HYDROGUI_Module::windows( QMap<int, int>& theMap ) const