From 389b38112aa6e05c31b2bf3891811c52a8929b82 Mon Sep 17 00:00:00 2001 From: barate Date: Mon, 25 Oct 2010 14:17:20 +0000 Subject: [PATCH] Fixed bug in findItem method of study editor --- src/KERNEL_PY/kernel/studyedit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/KERNEL_PY/kernel/studyedit.py b/src/KERNEL_PY/kernel/studyedit.py index 4823daf37..09e41c360 100644 --- 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 -- 2.39.2