Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e0c52d
)
Bos #24055 [CEA 24054] Editing ExtrusionCut object updates other.
author
jfa
<jfa@opencascade.com>
Fri, 19 Mar 2021 10:56:33 +0000
(13:56 +0300)
committer
jfa
<jfa@opencascade.com>
Fri, 19 Mar 2021 10:56:33 +0000
(13:56 +0300)
src/ModuleBase/ModuleBase_PagedContainer.cpp
patch
|
blob
|
history
diff --git
a/src/ModuleBase/ModuleBase_PagedContainer.cpp
b/src/ModuleBase/ModuleBase_PagedContainer.cpp
index 2b0117acf866d4d3e7803a017ab1d00f77e8cfcd..0489eef207d9e7529757cad0817f79dc1bb88d07 100644
(file)
--- a/
src/ModuleBase/ModuleBase_PagedContainer.cpp
+++ b/
src/ModuleBase/ModuleBase_PagedContainer.cpp
@@
-103,11
+103,7
@@
bool ModuleBase_PagedContainer::restoreValueCustom()
AttributeStringPtr aStringAttr = aData->string(attributeID());
QString aCaseId;
if (aStringAttr->isInitialized()) {
- if (myIsEditing)
- aCaseId = QString::fromStdString(aStringAttr->value());
- else {
- aCaseId = QString::fromStdString(aDefVal.empty() ? aStringAttr->value() : aDefVal);
- }
+ aCaseId = QString::fromStdString(aStringAttr->value());
int idx = myCaseIds.indexOf(aCaseId);
if (idx == -1)
idx = currentPageIndex();