]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fixed bug in findItem method of study editor V5_1_5rc1
authorbarate <barate>
Mon, 25 Oct 2010 14:17:20 +0000 (14:17 +0000)
committerbarate <barate>
Mon, 25 Oct 2010 14:17:20 +0000 (14:17 +0000)
src/KERNEL_PY/kernel/studyedit.py

index 4823daf37e867b6b7b9f7661d767fbaaac0f0b8d..09e41c360578a99ed3eaaff2ef1d5bfb1a6fa32b 100644 (file)
@@ -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