From a3819c1e88f585013c5b4b46de676d6b72630adf Mon Sep 17 00:00:00 2001 From: Yorusora Date: Tue, 11 Feb 2025 18:48:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecg_label_check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecg_label_check.py b/ecg_label_check.py index 01b4598..bf9cbcc 100644 --- a/ecg_label_check.py +++ b/ecg_label_check.py @@ -260,8 +260,6 @@ class MainWindow(QMainWindow, Ui_MainWindow): self.lineEdit_label2path.setText( str(self.data_and_label_Path) + "\\" + self.comboBox_choose.currentText() + "Rpeak.txt") - MainWindow.setWindowTitle(self, QCoreApplication.translate("MainWindow", - "ECG_Label_Check - Data Path: " + str(file_path))) info("Successfully Loaded Root Path.") self.textBrowser_update("操作:根目录路径选择成功") else: @@ -317,6 +315,8 @@ class MainWindow(QMainWindow, Ui_MainWindow): def slot_btn_dataInput(self): 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([])