Removed hacky flag; don't know why it was needed

svn: r13811
This commit is contained in:
Doug Blank 2009-12-15 16:48:03 +00:00
parent cfec1b2092
commit f2abf6e4c2
2 changed files with 2 additions and 7 deletions

View File

@ -191,10 +191,6 @@ def run_report(dbstate, uistate, category, handle, pdata, container=None,
d = TextBufDoc(make_basic_stylesheet(), None) d = TextBufDoc(make_basic_stylesheet(), None)
d.dbstate = dbstate d.dbstate = dbstate
d.uistate = uistate d.uistate = uistate
if container:
d.change_active = False
else:
d.change_active = True
if isinstance(handle, basestring): # a handle if isinstance(handle, basestring): # a handle
if category == CATEGORY_QR_PERSON : if category == CATEGORY_QR_PERSON :
obj = dbstate.db.get_person_from_handle(handle) obj = dbstate.db.get_person_from_handle(handle)

View File

@ -168,7 +168,6 @@ class SimpleTable(object):
elif self.__link[index]: elif self.__link[index]:
objclass, handle = self.__link[index] objclass, handle = self.__link[index]
if objclass == 'Person': if objclass == 'Person':
if self.simpledoc.doc.change_active:
person = self.access.dbase.get_person_from_handle(handle) person = self.access.dbase.get_person_from_handle(handle)
self.simpledoc.doc.dbstate.change_active_person(person) self.simpledoc.doc.dbstate.change_active_person(person)
return True return True