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^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=21b917d490c460e00f1f5c6d1fe674949296c8a5;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; } }