FreeOpcUa/opcua-modeler

Crash upon entering reference

Isarhamster opened this issue · 1 comments

Modeler simply crashes when entering a reference node for a new object type.
All data is lost subsequently.

File "C:\Users\NJ\AppData\Roaming\Python\Python311\site-packages\uawidgets\get_node_dialog.py", line 37, in get_new_node
node = self.get_node()
^^^^^^^^^^^^^^^
File "C:\Users\NJ\AppData\Roaming\Python\Python311\site-packages\uawidgets\get_node_dialog.py", line 49, in get_node
return new_node(self.current_node, current)
^^^^^^^^^^^^^^^^^
AttributeError: 'GetNodeTextButton' object has no attribute 'current_node'

Just double-clicking the reference type (e.g. "Has Component") will create this issue