summaryrefslogtreecommitdiff
path: root/Graphics.py
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics.py')
-rw-r--r--Graphics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics.py b/Graphics.py
index a8ee43a..a829849 100644
--- a/Graphics.py
+++ b/Graphics.py
@@ -416,7 +416,7 @@ class NodeItem(QtWidgets.QGraphicsItem):
if (self.obj.modes_list):
default_tooltip = f"{self.name}\n\n"
- default_tooltip_dict = self.obj.param_getter(self.obj.modes_list[0])
+ default_tooltip_dict = self.obj.param_getter(self.obj.mode)
for i, j in default_tooltip_dict.items():
if j is not None:
default_tooltip = default_tooltip + f" {i} : {j}\n"