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:
parent
9aa165ad3e
commit
ef0c2b6bd3
@ -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>
|
2006-10-03 Jerome Rapinat <romjerome@yahoo.fr>
|
||||||
* src/plugins/ChangeNames.py: fix path name
|
* src/plugins/ChangeNames.py: fix path name
|
||||||
|
|
||||||
|
@ -137,7 +137,15 @@ class EventEmbedList(EmbeddedList):
|
|||||||
self.dbstate, self.uistate, self.track,
|
self.dbstate, self.uistate, self.track,
|
||||||
event, ref, self.event_updated)
|
event, ref, self.event_updated)
|
||||||
except Errors.WindowActiveError:
|
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):
|
def event_updated(self, ref, event):
|
||||||
self.changed = True
|
self.changed = True
|
||||||
|
Loading…
Reference in New Issue
Block a user