diff --git a/src/gui/views/treemodels/citationtreemodel.py b/src/gui/views/treemodels/citationtreemodel.py index b4283622d..aba31f959 100644 --- a/src/gui/views/treemodels/citationtreemodel.py +++ b/src/gui/views/treemodels/citationtreemodel.py @@ -181,14 +181,6 @@ class CitationTreeModel(CitationBaseModel, TreeBaseModel): if self.get_node(data[5]): self.add_node(data[5], handle, sort_key, handle, secondary=True) - def add_secondary_row(self, handle, data): - """ - Add a secondary node to the node map for a citation. - """ - # parameters are parent, child, sortkey, handle - self.add_node(self.citation_source(data), handle, - self.citation_page(data), handle, secondary=True) - def on_get_n_columns(self): return len(self.fmap)+1 diff --git a/src/gui/views/treemodels/treebasemodel.py b/src/gui/views/treemodels/treebasemodel.py index 09446af5c..e070f8583 100644 --- a/src/gui/views/treemodels/treebasemodel.py +++ b/src/gui/views/treemodels/treebasemodel.py @@ -731,7 +731,7 @@ class TreeBaseModel(gtk.GenericTreeModel): if data: self.add_row(handle, data) else: - self.add_secondary_row(handle, self.map2(handle)) + self.add_row2(handle, self.map2(handle)) _LOG.debug(self.__class__.__name__ + ' add_row_by_handle ' + str(time.clock() - cput) + ' sec')