forked from M-Labs/thermostat
setValue
This commit is contained in:
parent
0d1cb074e1
commit
00b252a347
|
@ -263,7 +263,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
|||
self.port_set_spin.setMinimumSize(QtCore.QSize(70, 0))
|
||||
self.port_set_spin.setMaximumSize(QtCore.QSize(70, 16777215))
|
||||
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.setDefaultWidget(self.port_set_spin)
|
||||
|
|
Loading…
Reference in New Issue