From d1db2c977f2344e4b9c7292a3f7ace0b71d4aefb Mon Sep 17 00:00:00 2001 From: Artem Zhidkov Date: Fri, 8 May 2020 14:24:13 +0300 Subject: [PATCH] Issue #19063: Recover compound choice not saved Set the default value of the Recover method in case of it is not initialized yet only. --- src/FeaturesPlugin/FeaturesPlugin_Recover.cpp | 2 -- 1 file changed, 2 deletions(-) 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() -- 2.39.2