svn: r8961
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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 :
|
||||
|
||||
Reference in New Issue
Block a user