Limit the number of characters in the description and source lists on the edit window

Prevent place duplication


svn: r1477
This commit is contained in:
Don Allingham
2003-04-26 23:17:51 +00:00
parent d428ff7e9c
commit 17eced69ef
4 changed files with 23 additions and 13 deletions

View File

@@ -2351,6 +2351,9 @@ class GrampsDB(Persistent):
"""adds a Place instance to the database, assigning it a gramps'
ID number"""
# import traceback
# traceback.print_stack()
index = self.pprefix % self.lmapIndex
while self.placeMap.has_key(index):
self.lmapIndex = self.lmapIndex + 1