fixed port LMB issue.
@@ -462,6 +462,7 @@ class NodeViewer(QtWidgets.QGraphicsView):
self._detached_port == end_port
])
if restore_connection:
+ if self._detached_port:
to_port = self._detached_port or end_port
self.establish_connection(self._start_port, to_port)
self._detached_port = None
