Add a Connect button next to the host field; unwire it from Start

Start/Pause/Stop on the toolbar were never about the websocket
connection - Start now does nothing until that's wired to its own
purpose, and connecting is its own explicit action next to the host
text entry.
This commit is contained in:
2026-06-20 23:01:18 +02:00
parent 62dcd6b541
commit 9c3ec1dfdf
3 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ class Window(QtWidgets.QMainWindow, Ui_MainWindow):
self.msg_sud.set_recv_handler(self.on_sud_changed)
self.setupUi(self)
self.actionStart.triggered.connect(self.connect)
self.btn_connect.clicked.connect(self.connect)
self.actionStop.triggered.connect(self.disconnect)
self.actionSudDownload.triggered.connect(self.on_action_sud_download)
self.actionSudUpload.triggered.connect(self.on_action_sud_upload)