From 4e6a9abe93b5a81965f29660f6dde54a4694a8be Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Thu, 27 Dec 2001 05:36:12 +0000 Subject: [PATCH] Fixed sort_dir vs. sort_direct svn: r667 --- gramps/src/PlaceView.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gramps/src/PlaceView.py b/gramps/src/PlaceView.py index 913699580..e67f15608 100644 --- a/gramps/src/PlaceView.py +++ b/gramps/src/PlaceView.py @@ -150,17 +150,17 @@ class PlaceView: for a in self.sort_arrow: a.hide() if self.sort_col == column: - if self.sort_direct == GTK.SORT_DESCENDING: - self.sort_direct = GTK.SORT_ASCENDING + if self.sort_dir == GTK.SORT_DESCENDING: + self.sort_dir = GTK.SORT_ASCENDING else: - self.sort_direct = GTK.SORT_DESCENDING + self.sort_dir = GTK.SORT_DESCENDING else: - self.sort_direct = GTK.SORT_ASCENDING + self.sort_dir = GTK.SORT_ASCENDING self.sort_col = column self.set_arrow(column) - self.place_list.set_sort_type(self.sort_direct) + self.place_list.set_sort_type(self.sort_dir) self.place_list.set_sort_column(self.sort_map[self.sort_col]) - Config.save_sort_cols("place",self.sort_col,self.sort_direct) + Config.save_sort_cols("place",self.sort_col,self.sort_dir) self.place_list.sort() if sel: