Return the actual page object

svn: r15807
This commit is contained in:
Doug Blank 2010-08-23 14:04:54 +00:00
parent b72617c5aa
commit ecef5c1d26

View File

@ -247,7 +247,7 @@ class CategorySidebar(BaseSidebar):
self.pages[(cat_num, view_num)] = self.viewmanager.get_n_pages()
self.viewmanager.create_page(page[0], page[1], show_page=False)
page_num = self.pages.get((cat_num, view_num))
return page
return self.viewmanager.pages[page_num]
def get_categories(self):
"""