]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
error message for export to TELEMAC
authorasl <asl@opencascade.com>
Thu, 24 Nov 2016 08:45:50 +0000 (11:45 +0300)
committerasl <asl@opencascade.com>
Thu, 24 Nov 2016 08:46:08 +0000 (11:46 +0300)
src/HYDROData/HYDROData_CalculationCase.cxx

index 1e0136807f6d94508caa557d1383d5749e0243d4..d0949778ad6e792cd8d126b9b19e588c1f109d21 100644 (file)
@@ -1123,6 +1123,7 @@ bool HYDROData_CalculationCase::Export( GEOM::GEOM_Gen_var  theGeomEngine,
   {
     QString aTelemacFileName = GetName() + ".telemac";
     aRes = GetLandCoverMap()->ExportTelemac( aTelemacFileName, 1E-2, GetStricklerTable() );
+    theErrorMsg = QString( "The export to TELEMAC %1 failed" ).arg( aTelemacFileName );
   }
   return aRes;
 }