From: mpv Date: Fri, 2 Sep 2016 14:32:40 +0000 (+0300) Subject: Fix the problem with change of Base of Recover feature in GUI when some result is... X-Git-Tag: V_2.5.0~68 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4212fa0374ce8ded83c0fa1d4c783b6abcb32d96;p=modules%2Fshaper.git Fix the problem with change of Base of Recover feature in GUI when some result is already selected as recovered. --- diff --git a/src/FeaturesPlugin/FeaturesPlugin_Recover.cpp b/src/FeaturesPlugin/FeaturesPlugin_Recover.cpp index 5bdff264f..cb54944eb 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Recover.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Recover.cpp @@ -49,7 +49,7 @@ void FeaturesPlugin_Recover::synchronizeRegistered() { FeaturePtr aBase = baseFeature(); bool aNewPersistent = boolean(PERSISTENT())->value(); - if (aNewPersistent != myPersistent) + if (aNewPersistent != myPersistent || myCurrentBase != aBase) clearRegistered(); std::set aRecoveredInList;