* src/Editors/_EditPerson.py: select given name field if the
surname field is already defined svn: r6910
This commit is contained in:
parent
51ae992dab
commit
6f0c94853d
@ -1,4 +1,6 @@
|
|||||||
2006-06-17 Don Allingham <don@gramps-project.org>
|
2006-06-17 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/Editors/_EditPerson.py: select given name field if the
|
||||||
|
surname field is already defined
|
||||||
* src/Selectors/_BaseSelector.py (BaseSelector.run): handle
|
* src/Selectors/_BaseSelector.py (BaseSelector.run): handle
|
||||||
delete event
|
delete event
|
||||||
* src/DataViews/_RelationView.py: remove debug statement
|
* src/DataViews/_RelationView.py: remove debug statement
|
||||||
|
@ -135,6 +135,9 @@ class EditPerson(EditPrimary):
|
|||||||
class (this class)
|
class (this class)
|
||||||
"""
|
"""
|
||||||
self.load_person_image()
|
self.load_person_image()
|
||||||
|
if self.pname.get_surname() and not self.pname.get_first_name():
|
||||||
|
self.given.grab_focus()
|
||||||
|
else:
|
||||||
self.surname_field.grab_focus()
|
self.surname_field.grab_focus()
|
||||||
|
|
||||||
# if not Config.get(Config.HIDE_EP_MSG):
|
# if not Config.get(Config.HIDE_EP_MSG):
|
||||||
|
Loading…
Reference in New Issue
Block a user