Skip to content

Commit 2cd5eff

Browse files
author
Leandro Inocencio
committed
Update stream when value input change
1 parent 949a737 commit 2cd5eff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example_math_nodes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ def __init__(self):
4747
super(DataInputNode, self).__init__()
4848
self.output = self.add_output('out')
4949
self.add_text_input('out', 'Data Input', text='4', tab='widgets')
50-
50+
self.view.widgets['out'].value_changed.connect(partial(update_streams, self))
51+
5152
def run(self):
5253
return
5354

0 commit comments

Comments
 (0)