From 04b8edcd74510703954dce5119cbf683b09b2378 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 10 Sep 2015 15:32:07 +0300 Subject: [PATCH] This is a code correction: this code is obsolete after the cleanContent() is called in the same method before asking Session to abort operation. --- src/ModuleBase/ModuleBase_OperationFeature.cpp | 5 ----- 1 file changed, 5 deletions(-) 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(); -- 2.39.2