X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FParametersQtDialog.cxx;h=0891a2b5c09c409c9c5d80381ef5114a27b441cd;hb=8e5fd31fd4d280781d8bc27a799361bf9c30b1d4;hp=8a012b646ef59f41da7d9ea03853ded410808426;hpb=584e1bc8ecb0568639e1843f616408e28d4c6257;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/ParametersQtDialog.cxx b/lib/cpPlugins/Interface/ParametersQtDialog.cxx index 8a012b6..0891a2b 100644 --- a/lib/cpPlugins/Interface/ParametersQtDialog.cxx +++ b/lib/cpPlugins/Interface/ParametersQtDialog.cxx @@ -203,7 +203,8 @@ exec( ) this->m_ToolsLayout->addWidget( bb ); int ret = this->QDialog::exec( ); - this->syncParameters( ); + if( ret == 1 ) + this->syncParameters( ); return( ret ); }