X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FImageMPR%2FImageMPR.cxx;h=c7921b1924966bbe3fb775e17562b569d03da8e6;hb=19a9e1774044cc32c415ad38695800c1d169820d;hp=ea198acda42c4be080aef61fc2a5bc58e223caf8;hpb=51f6a14e2d16bd79de3cf82693275a0abaaf9007;p=cpPlugins.git diff --git a/appli/ImageMPR/ImageMPR.cxx b/appli/ImageMPR/ImageMPR.cxx index ea198ac..c7921b1 100644 --- a/appli/ImageMPR/ImageMPR.cxx +++ b/appli/ImageMPR/ImageMPR.cxx @@ -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( );