Skip to content
Snippets Groups Projects
Commit 571aacb8 authored by Ihrig, Arvid Conrad (ari)'s avatar Ihrig, Arvid Conrad (ari)
Browse files

fixed bug in setting section references call

parent 26cf34e4
Branches
No related tags found
No related merge requests found
...@@ -176,7 +176,7 @@ class CachingSectionManager(object): ...@@ -176,7 +176,7 @@ class CachingSectionManager(object):
self.preOpened = preOpened self.preOpened = preOpened
def setSectionInfo(self, gIndex, references): def setSectionInfo(self, gIndex, references):
self.openSections[gIndex].references = [reference[x] for x in self.parentSectionNames] self.openSections[gIndex].references = [references[x] for x in self.parentSectionNames]
def get_latest_section(self): def get_latest_section(self):
"""Returns the latest opened section if it is still open. """Returns the latest opened section if it is still open.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment