From ab4ce85db0f7a53f869a79e571801c1f4bf21dc2 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 3 Jan 2006 23:51:20 +0000 Subject: [PATCH] * src/DisplayState.py (push): Typo. svn: r5662 --- ChangeLog | 3 +++ src/DisplayState.py | 6 ++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e80db2a35..a565298af 100644 --- a/ChangeLog +++ b/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/src/DisplayState.py b/src/DisplayState.py index 03a83d88c..b4d23f190 100644 --- a/src/DisplayState.py +++ b/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,))