From 7b0e22831cb56bd2591e2b682bd5dd70727265c3 Mon Sep 17 00:00:00 2001 From: a838557765 <838557765@qq.com> Date: Thu, 7 Jan 2021 16:57:42 +0800 Subject: [PATCH] Update Update main.py --- Code/Server/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Code/Server/main.py b/Code/Server/main.py index a3a3da5..6a94df7 100644 --- a/Code/Server/main.py +++ b/Code/Server/main.py @@ -30,6 +30,7 @@ class mywindow(QMainWindow,Ui_server_ui): self.setWindowFlags(Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint) self.setMouseTracking(True) self.Button_Server.setText("On") + self.on_pushButton() self.Button_Server.clicked.connect(self.on_pushButton) self.pushButton_Close.clicked.connect(self.close) self.pushButton_Min.clicked.connect(self.windowMinimumed)