]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #19063: Recover compound choice not saved
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Fri, 8 May 2020 11:24:13 +0000 (14:24 +0300)
committerArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Fri, 8 May 2020 11:24:13 +0000 (14:24 +0300)
Set the default value of the Recover method in case of it is not initialized yet only.

src/FeaturesPlugin/FeaturesPlugin_Recover.cpp

index 1d620d1d2b373d1646f35234a4dc5423513e2444..2005cef0711c71c4fc2c0951a5e0f0d3a5bca7ed 100644 (file)
@@ -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()