]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_PagedContainer.cpp
Salome HOME
Task #3235: Projection without link to source shape
[modules/shaper.git] / src / ModuleBase / ModuleBase_PagedContainer.cpp
index e9461b7e7fbbfc117a03e8ebc3aaffeddf52a1b2..bdd18427422012e409ae57e48482e290a816fb23 100644 (file)
@@ -106,7 +106,8 @@ bool ModuleBase_PagedContainer::restoreValueCustom()
       aCaseId = QString::fromStdString(aStringAttr->value());
     else
       aCaseId = QString::fromStdString(aDefVal.empty() ? aStringAttr->value() : aDefVal);
-    myIsFirst = false;
+    if (myIsFirst)
+      storeValueCustom();
     int idx = myCaseIds.indexOf(aCaseId);
     if (idx == -1)
       idx = currentPageIndex();