finish IP -> HOST

This commit is contained in:
atse 2024-08-29 10:25:20 +08:00
parent 425dee173b
commit 2fd852e171

View File

@ -134,8 +134,8 @@ class MainWindow(QtWidgets.QMainWindow):
)
if args.connect:
if args.IP:
self.host_set_line.setText(args.IP)
if args.HOST:
self.host_set_line.setText(args.HOST)
if args.PORT:
self.port_set_spin.setValue(int(args.PORT))
self.connect_btn.click()