Skip to content

Commit 345116f

Browse files
committed
usagestatistics: Use all_nodes, all_links
1 parent ec63ba3 commit 345116f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

orangecanvas/document/usagestatistics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,11 +387,11 @@ def log_scheme(self, scheme):
387387
self.begin_action(ActionType.Load)
388388

389389
# first log nodes
390-
for node in scheme.nodes:
390+
for node in scheme.all_nodes():
391391
self.log_node_add(node)
392392

393393
# then log links
394-
for link in scheme.links:
394+
for link in scheme.all_links():
395395
self.log_link_add(link)
396396

397397
self.end_action()

0 commit comments

Comments
 (0)