-
Notifications
You must be signed in to change notification settings - Fork 299
Closed
Description
When using add_combo_menu() or add_text_input() in order to add a built-in widget, I get the following error message:
File "/home/user/.local/lib/python3.9/site-packages/NodeGraphQt/widgets/node_widgets.py", line 116, in on_value_changed
self.value_changed.emit(self.get_name(), self.get_value())
TypeError: 'str' object is not callable
If I use add_checkbox(), I get a similar result:
File "/home/user/.local/lib/python3.9/site-packages/NodeGraphQt/widgets/node_widgets.py", line 116, in on_value_changed
self.value_changed.emit(self.get_name(), self.get_value())
TypeError: 'bool' object is not callable
It seems that, at some point, the get_value method is replaced by the value itself. It can be reproduced using basic_example.py.
NodeGraphQt version: 0.5.0
Qt.py version: 1.3.7
PySide2 version: 5.15.2.1
Python version: 3.9.2
OS: Debian GNU/Linux 11 (bullseye)
Regards.
Metadata
Metadata
Assignees
Labels
No labels