From: nds Date: Thu, 10 Sep 2015 12:32:07 +0000 (+0300) Subject: This is a code correction: this code is obsolete after the cleanContent() is called... X-Git-Tag: V_1.4.0_beta4~40 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=04b8edcd74510703954dce5119cbf683b09b2378;p=modules%2Fshaper.git This is a code correction: this code is obsolete after the cleanContent() is called in the same method before asking Session to abort operation. --- diff --git a/src/ModuleBase/ModuleBase_OperationFeature.cpp b/src/ModuleBase/ModuleBase_OperationFeature.cpp index 797f9e2ab..b82ee32ca 100755 --- a/src/ModuleBase/ModuleBase_OperationFeature.cpp +++ b/src/ModuleBase/ModuleBase_OperationFeature.cpp @@ -193,11 +193,6 @@ void ModuleBase_OperationFeature::abort() abortOperation(); stopOperation(); - // is is necessary to deactivate current widgets before the model operation is aborted - // because abort removes the feature and activated filters should not check it - if (aPropertyPanel) { // feature may be not created (plugin load fail) - aPropertyPanel->cleanContent(); - } aMgr->abortOperation(); emit stopped();