From: Artem Zhidkov Date: Fri, 8 May 2020 11:24:13 +0000 (+0300) Subject: Issue #19063: Recover compound choice not saved X-Git-Tag: V9_5_0b1~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d1db2c977f2344e4b9c7292a3f7ace0b71d4aefb;p=modules%2Fshaper.git Issue #19063: Recover compound choice not saved Set the default value of the Recover method in case of it is not initialized yet only. --- diff --git a/src/FeaturesPlugin/FeaturesPlugin_Recover.cpp b/src/FeaturesPlugin/FeaturesPlugin_Recover.cpp index 1d620d1d2..2005cef07 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Recover.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Recover.cpp @@ -52,8 +52,6 @@ void FeaturesPlugin_Recover::initAttributes() myClearListOnTypeChange = true; } ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), METHOD()); - // set default method for recovering - string(METHOD())->setValue(METHOD_DEFAULT()); } void FeaturesPlugin_Recover::execute()