This commit is contained in:
atse 2023-08-18 10:32:48 +08:00
parent 0d1cb074e1
commit 00b252a347
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
self.port_set_spin.setMinimumSize(QtCore.QSize(70, 0)) self.port_set_spin.setMinimumSize(QtCore.QSize(70, 0))
self.port_set_spin.setMaximumSize(QtCore.QSize(70, 16777215)) self.port_set_spin.setMaximumSize(QtCore.QSize(70, 16777215))
self.port_set_spin.setMaximum(65535) self.port_set_spin.setMaximum(65535)
self.port_set_spin.setProperty("value", 23) self.port_set_spin.setValue(23)
port = QtWidgets.QWidgetAction(self.connection_menu) port = QtWidgets.QWidgetAction(self.connection_menu)
port.setDefaultWidget(self.port_set_spin) port.setDefaultWidget(self.port_set_spin)