2006-10-04 Don Allingham <don@gramps-project.org>

* src/DisplayTabs/_EventEmbedList.py: catch attempt to multiply
	edit an event through events and event references

2006-10-03  Don Allingham  <don@gramps-project.org>
	* src/Editors/_EditFamily.py: don't try to change families if the
	parents don't exist



svn: r7353
This commit is contained in:
Don Allingham 2006-10-05 04:33:09 +00:00
parent 9aa165ad3e
commit ef0c2b6bd3
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2006-10-04 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_EventEmbedList.py: catch attempt to multiply
edit an event through events and event references
2006-10-03 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: don't try to change families if the
parents don't exist
2006-10-03 Jerome Rapinat <romjerome@yahoo.fr>
* src/plugins/ChangeNames.py: fix path name

View File

@ -137,7 +137,15 @@ class EventEmbedList(EmbeddedList):
self.dbstate, self.uistate, self.track,
event, ref, self.event_updated)
except Errors.WindowActiveError:
pass
from QuestionDialog import WarningDialog
WarningDialog(
_("Cannot edit this reference"),
_("This event reference cannot be edited at this time. "
"Either the associated event is already being edited "
"or another event reference that is associated with "
"the same event is being edited.\n\nTo edit this event "
"reference, you need to close the event.")
)
def event_updated(self, ref, event):
self.changed = True