From: eap Date: Fri, 20 Jul 2012 16:12:16 +0000 (+0000) Subject: Generalize "Cancel Compute" mechanism to be able to report X-Git-Tag: V6_6_0a1~228 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c553d1240284816b5f846f0e0f7b91bcd1a44e8e;p=modules%2Fsmesh.git Generalize "Cancel Compute" mechanism to be able to report "Computation canceled" instead of "Algorithm failed" as failure reason + CASE2TEXT( COMPERR_CANCELED ); --- diff --git a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx index 76061bb86..0bb2fa5ef 100644 --- a/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ComputeDlg.cxx @@ -345,6 +345,7 @@ namespace SMESH CASE2TEXT( COMPERR_EXCEPTION ); CASE2TEXT( COMPERR_MEMORY_PB ); CASE2TEXT( COMPERR_BAD_SHAPE ); + CASE2TEXT( COMPERR_CANCELED ); case SMESH::COMPERR_ALGO_FAILED: if ( strlen(comment) == 0 ) text = QObject::tr("COMPERR_ALGO_FAILED");