Salome HOME
refs #669, #677: selection of land covers in extended mode without pressing Shift...
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ExportCalculationOp.cxx
index 4ee707347258db6519a6c85f9041314163de9ccd..c911f1d048da8969044b861af2f61cf6ea345897 100644 (file)
@@ -84,11 +84,12 @@ bool HYDROGUI_ExportCalculationOp::processApply( int& theUpdateFlags,
     dynamic_cast<SalomeApp_Study*>( module()->getApp()->activeStudy() );
 
   // Export
+  QString anErrorMsg;
   if ( aStudy ) {
     SALOMEDS::Study_var aDSStudy = GeometryGUI::ClientStudyToStudy( aStudy->studyDS() );
     GEOM::GEOM_Gen_var aGeomEngine = GeometryGUI::GetGeomGen();
     QString anEntry;
-    if ( aCalculation->Export( aGeomEngine, aDSStudy, anEntry ) ) {
+    if ( aCalculation->Export( aGeomEngine, aDSStudy, anEntry, theErrorMsg ) ) {
       theUpdateFlags = UF_ObjBrowser;
       isOk = true;
     }