From 77e99d72b744c4efc9543b8de6cfdd9ebb9406ba Mon Sep 17 00:00:00 2001
From: Olle Hansson <olle.hansson@liu.se>
Date: Wed, 15 Feb 2023 16:19:50 +0100
Subject: [PATCH] Found and solved problem of not being able to connect ports
 with right_click+Connect

---
 b_asic/GUI/port_button.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/b_asic/GUI/port_button.py b/b_asic/GUI/port_button.py
index e9d448ae..487f6edc 100644
--- a/b_asic/GUI/port_button.py
+++ b/b_asic/GUI/port_button.py
@@ -32,7 +32,7 @@ class PortButton(QPushButton):
         self._m_press = False
 
         self.setStyleSheet("background-color: white")
-        self.connectionRequested.connect(self._window._connect_button)
+        self.connectionRequested.connect(self._window._connect_callback)
 
     def contextMenuEvent(self, event):
         menu = QMenu()
-- 
GitLab