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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user