From c2f35b9095c8a0992c9daa692bb97f176ba33665 Mon Sep 17 00:00:00 2001 From: Yorusora Date: Wed, 12 Feb 2025 12:14:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecg_label_check.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ecg_label_check.py b/ecg_label_check.py index 7435093..8af8395 100644 --- a/ecg_label_check.py +++ b/ecg_label_check.py @@ -316,8 +316,7 @@ class MainWindow(QMainWindow, Ui_MainWindow): if self.lineEdit_data1path.text() != "" or self.lineEdit_data2path.text() != "" or self.lineEdit_label1path.text() != "" or self.lineEdit_label2path.text() != "" or self.lineEdit_savepath.text() != "": info("Inputing Data...") self.textBrowser_update("提示:开始导入数据") - MainWindow.setWindowTitle(self, QCoreApplication.translate("MainWindow", - "ECG_Label_Check - Data Path: " + self.lineEdit_rootpath.text())) + # 导入数据 self.label1 = np.array([]) self.label2 = np.array([]) @@ -360,6 +359,8 @@ class MainWindow(QMainWindow, Ui_MainWindow): self.pushButton_outputLabel.setEnabled(True) self.figToolbar.action_Label_Single.setEnabled(True) self.figToolbar.action_Label_Multiple.setEnabled(True) + MainWindow.setWindowTitle(self, QCoreApplication.translate("MainWindow", + "ECG_Label_Check - Data Path: " + self.lineEdit_rootpath.text())) for action in self.figToolbar._actions.values(): action.setEnabled(True)