From: Christophe Bourcier Date: Fri, 15 Oct 2021 09:52:13 +0000 (+0200) Subject: Make Cancel button works (in Compute progress dialog box) X-Git-Tag: V9_8_0b1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c022a06f9a3b6409b110b4b12cd7c94987c5fca2;p=plugins%2Fblsurfplugin.git Make Cancel button works (in Compute progress dialog box) --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 8f517c6..ccca2fa 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -3496,7 +3496,7 @@ status_t interrupt_cb(integer *interrupt_status, void *user_data) else /* you want to stop MG-CADSurf */ { *interrupt_status = INTERRUPT_STOP; - return STATUS_ERROR; + return STATUS_OK; } }