svn: r8961

This commit is contained in:
Benny Malengier
2007-09-11 11:30:15 +00:00
parent f32dcb087a
commit fd5bb08aa3
3 changed files with 6 additions and 2 deletions

View File

@@ -859,7 +859,7 @@ class ListView(BookMarkView):
if menu and self.dbstate.active:
(ui, reportactions) = create_quickreport_menu(
self.QR_CATEGORY,
self.dbstate,
self.dbstate,
self.first_selected())
if len(reportactions) > 1 :
qr_menu = gtk.Menu()

View File

@@ -123,7 +123,7 @@ def run_report(dbstate, category,handle,func):
elif category == CATEGORY_QR_EVENT :
obj = dbstate.db.get_event_from_handle(handle)
elif category == CATEGORY_QR_SOURCE :
obj = self.dbstate.db.get_source_from_handle(handle)
obj = dbstate.db.get_source_from_handle(handle)
elif category == CATEGORY_QR_PLACE :
obj = dbstate.db.get_place_from_handle(handle)
elif category == CATEGORY_QR_REPOSITORY :