Skip to content

Commit

Permalink
usagestatistics: Use all_nodes, all_links
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-erjavec committed Jul 30, 2021
1 parent ec63ba3 commit 345116f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions orangecanvas/document/usagestatistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,11 +387,11 @@ def log_scheme(self, scheme):
self.begin_action(ActionType.Load)

# first log nodes
for node in scheme.nodes:
for node in scheme.all_nodes():
self.log_node_add(node)

# then log links
for link in scheme.links:
for link in scheme.all_links():
self.log_link_add(link)

self.end_action()
Expand Down

0 comments on commit 345116f

Please sign in to comment.