Added a Gramplet that can run a Quick View

svn: r11466
This commit is contained in:
Doug Blank
2008-12-13 16:59:14 +00:00
parent 246b3e0bd5
commit 6244a0c033
6 changed files with 180 additions and 91 deletions

View File

@@ -152,8 +152,9 @@ class SimpleTable:
elif self.__link[index]:
objclass, handle = self.__link[index]
if objclass == 'Person':
person = self.access.dbase.get_person_from_handle(handle)
self.simpledoc.doc.dbstate.change_active_person(person)
if self.simpledoc.doc.change_active:
person = self.access.dbase.get_person_from_handle(handle)
self.simpledoc.doc.dbstate.change_active_person(person)
return True
return False # didn't handle event