2006-04-14 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs.py (edit_button_clicked): Proceed only if selection exists. svn: r6345
This commit is contained in:
parent
c463c8e846
commit
4a373a8a37
@ -1,3 +1,7 @@
|
|||||||
|
2006-04-14 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/DisplayTabs.py (edit_button_clicked): Proceed only if
|
||||||
|
selection exists.
|
||||||
|
|
||||||
2006-04-14 Don Allingham <don@gramps-project.org>
|
2006-04-14 Don Allingham <don@gramps-project.org>
|
||||||
* src/GrampsDb/_ReadXML.py: handle ChildRefType
|
* src/GrampsDb/_ReadXML.py: handle ChildRefType
|
||||||
* src/GrampsDb/_ConstXML.py: remove unused map
|
* src/GrampsDb/_ConstXML.py: remove unused map
|
||||||
|
@ -1237,15 +1237,15 @@ class PersonRefEmbedList(EmbeddedList):
|
|||||||
self.rebuild()
|
self.rebuild()
|
||||||
|
|
||||||
def edit_button_clicked(self, obj):
|
def edit_button_clicked(self, obj):
|
||||||
from Editors import EditPersonRef
|
ref = self.get_selected()
|
||||||
|
if ref:
|
||||||
try:
|
try:
|
||||||
ref = self.get_selected()
|
from Editors import EditPersonRef
|
||||||
EditPersonRef(
|
EditPersonRef(
|
||||||
self.dbstate, self.uistate, self.track,
|
self.dbstate, self.uistate, self.track,
|
||||||
ref, self.edit_callback)
|
ref, self.edit_callback)
|
||||||
except Errors.WindowActiveError:
|
except Errors.WindowActiveError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def edit_callback(self, obj):
|
def edit_callback(self, obj):
|
||||||
self.rebuild()
|
self.rebuild()
|
||||||
|
Loading…
Reference in New Issue
Block a user