forked from M-Labs/thermostat
Adjust exit text
This commit is contained in:
parent
d119fd2275
commit
0e02803b98
@ -355,7 +355,7 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
|||||||
self.connection_menu.port = port
|
self.connection_menu.port = port
|
||||||
|
|
||||||
self.exit_button = QtWidgets.QPushButton()
|
self.exit_button = QtWidgets.QPushButton()
|
||||||
self.exit_button.setText("Exit")
|
self.exit_button.setText("Exit GUI")
|
||||||
self.exit_button.pressed.connect(QtWidgets.QApplication.instance().quit)
|
self.exit_button.pressed.connect(QtWidgets.QApplication.instance().quit)
|
||||||
|
|
||||||
exit_action = QtWidgets.QWidgetAction(self.exit_button)
|
exit_action = QtWidgets.QWidgetAction(self.exit_button)
|
||||||
|
Loading…
Reference in New Issue
Block a user