Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
044dc8a
)
Fixed bug in findItem method of study editor
V5_1_5rc1
author
barate
<barate>
Mon, 25 Oct 2010 14:17:20 +0000
(14:17 +0000)
committer
barate
<barate>
Mon, 25 Oct 2010 14:17:20 +0000
(14:17 +0000)
src/KERNEL_PY/kernel/studyedit.py
patch
|
blob
|
history
diff --git
a/src/KERNEL_PY/kernel/studyedit.py
b/src/KERNEL_PY/kernel/studyedit.py
index 4823daf37e867b6b7b9f7661d767fbaaac0f0b8d..09e41c360578a99ed3eaaff2ef1d5bfb1a6fa32b 100644
(file)
--- a/
src/KERNEL_PY/kernel/studyedit.py
+++ b/
src/KERNEL_PY/kernel/studyedit.py
@@
-236,9
+236,9
@@
class StudyEditor:
(comment is None or childItem.GetComment() == comment) and \
(icon is None or \
self.getIcon(childItem) == icon) and \
- (IOR is None or childItem.GetIOR() == IOR and \
+ (IOR is None or childItem.GetIOR() == IOR
)
and \
(typeId is None or \
- self.getTypeId(childItem) == typeId)
)
:
+ self.getTypeId(childItem) == typeId):
foundItem = childItem
childIterator.Next()
return foundItem