]> Creatis software - cpPlugins.git/blobdiff - appli/ImageMPR/ImageMPR.cxx
...
[cpPlugins.git] / appli / ImageMPR / ImageMPR.cxx
index ea198acda42c4be080aef61fc2a5bc58e223caf8..c7921b1924966bbe3fb775e17562b569d03da8e6 100644 (file)
@@ -240,13 +240,13 @@ _execPlugin( )
 
   // Configure paramereters
   auto dlg_res = this->m_Plugins.ConfigureActiveFilter( );
-  if( dlg_res == TPlugins::TProcessObject::DialogResult_Cancel )
+  if( !dlg_res )
   {
     // Just deactivate filter, since it was canceled
     this->m_Plugins.DeactivateFilter( );
     return;
   }
-  else if( dlg_res == TPlugins::TProcessObject::DialogResult_NoModal )
+  else
   {
     // Execute automatic filter and associate outputs
     this->UpdateActualFilter( );