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([])