* src/gramps_main.py (edit_button_clicked): Modify edit person call
to always handle currently active person in family view; (delete_person_clicked): Use single person mlist for family views; (delete_person_response): Replace Back with just setting active person to current history index (remove_from_history already places hindex in the correct place). Always call redraw_histmenu(). * src/FamilyView.py (spouse_swap): Use change_active_person() call in order to correctly build history. svn: r2246
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
# $Id$
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -619,7 +620,7 @@ class FamilyView:
|
||||
|
||||
def spouse_swap(self,obj):
|
||||
if self.selected_spouse:
|
||||
self.parent.active_person = self.selected_spouse
|
||||
self.parent.change_active_person(self.selected_spouse)
|
||||
self.load_family(self.family)
|
||||
|
||||
def ap_parents_clicked(self,obj):
|
||||
|
Reference in New Issue
Block a user