From 345116f89158c3890588a46995de1d35c58b073a Mon Sep 17 00:00:00 2001 From: Ales Erjavec Date: Fri, 30 Jul 2021 16:09:07 +0200 Subject: [PATCH] usagestatistics: Use all_nodes, all_links --- orangecanvas/document/usagestatistics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/orangecanvas/document/usagestatistics.py b/orangecanvas/document/usagestatistics.py index 0fb7fe09d..4d195181c 100644 --- a/orangecanvas/document/usagestatistics.py +++ b/orangecanvas/document/usagestatistics.py @@ -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()