From 21b917d490c460e00f1f5c6d1fe674949296c8a5 Mon Sep 17 00:00:00 2001 From: Christophe Bourcier Date: Fri, 15 Oct 2021 11:52:13 +0200 Subject: [PATCH] Make Cancel button works (in Compute progress dialog box) --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.39.2