diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index e80db2a35..a565298af 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-01-03 Alex Roitman + * src/DisplayState.py (push): Typo. + 2006-01-03 Don Allingham * src/FamilyView.py: new format diff --git a/gramps2/src/DisplayState.py b/gramps2/src/DisplayState.py index 03a83d88c..b4d23f190 100644 --- a/gramps2/src/DisplayState.py +++ b/gramps2/src/DisplayState.py @@ -92,11 +92,9 @@ class History(GrampsDb.GrampsDBCallback): self.prune() if len(self.history) == 0 or person_handle != self.history[-1]: self.history.append(person_handle) - if person_handle not in self.mhistory: - self.mhistory.append(person_handle) - else: + if person_handle in self.mhistory: self.mhistory.remove(person_handle) - self.mhistory.push(person_handle) + self.mhistory.append(person_handle) self.index += 1 self.emit('menu-changed',(self.mhistory,)) self.emit('changed',(self.history,))