2008-02-15 Gary Burton <gary.burton@zen.co.uk>

* src/DataViews/RelationView.py:
	* src/Editors/_EditFamily.py: prevent right mouse button causing crash.
	Bug #1729



svn: r10041
This commit is contained in:
Gary Burton
2008-02-15 22:44:39 +00:00
parent 15e789467b
commit 6ba049eb94
3 changed files with 41 additions and 31 deletions

View File

@@ -780,7 +780,7 @@ class EditFamily(EditPrimary):
'select the existing family'))
def edit_person(self, obj, event, handle):
if event.type == gtk.gdk.BUTTON_PRESS and event.button == 1 \
if event.type == gtk.gdk.BUTTON_PRESS \
or event.keyval in (_RETURN, _KP_ENTER):
from _EditPerson import EditPerson
try: