Salome HOME
Task #3235: Projection without link to source shape
[modules/shaper.git] / src / ModuleBase / ModuleBase_PagedContainer.cpp
index 267d2d4cf19454094066a0c2be52a5682e166ac2..f821c793f7df970e045e174f3a8e82418a8a6dc2 100644 (file)
@@ -107,7 +107,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();